Skip to content

Commit

Permalink
Update unit-testing-with-enzyme.md
Browse files Browse the repository at this point in the history
Call Adapter class constructor
  • Loading branch information
skvale committed Apr 9, 2020
1 parent 3337faa commit 0e47a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/guide/v10/unit-testing-with-enzyme.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ adapter:
import { configure } from 'enzyme';
import Adapter from 'enzyme-adapter-preact-pure';

configure({ adapter: new Adapter });
configure({ adapter: new Adapter() });
```

For guidance on using Enzyme with different test runners, see the
Expand Down

0 comments on commit 0e47a71

Please sign in to comment.