Update Messages.spec.tsx

This commit is contained in:
Guzel738 2021-02-02 17:26:25 +03:00 committed by GitHub
parent 51c0b1a41c
commit 8320e9755b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,7 +68,7 @@ describe('Messages component', () => {
});
describe('Without messages', () => {
it('renders string', () => {
const wrapper = shallow(setupWrapper());
const wrapper = mount(setupWrapper());
expect(wrapper.text()).toContain('No messages at selected topic');
});
});