Skip to content

Commit

Permalink
Update test to use text helper function
Browse files Browse the repository at this point in the history
  • Loading branch information
SHA-4 committed Mar 5, 2020
1 parent e90de59 commit 15e9ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tester.test.tsx
Expand Up @@ -44,7 +44,7 @@ describe('Tester', () => {

it('Awaits async componentDidMount', async () => {
const tester = await new Tester(AsyncComponent).mount();
expect(tester.wrapper.text()).toContain('done');
expect(tester.text()).toContain('done');
});

});

0 comments on commit 15e9ae8

Please sign in to comment.