Skip to content

Commit

Permalink
Merge pull request #580 from skvale/patch-1
Browse files Browse the repository at this point in the history
Call Adapter class constructor
  • Loading branch information
marvinhagemeister committed Apr 9, 2020
2 parents 3337faa + 0e47a71 commit a70ef16
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 a70ef16

Please sign in to comment.