Skip to content

Commit

Permalink
Swap out enzyme adaptors for React 17
Browse files Browse the repository at this point in the history
  • Loading branch information
barrymcgee committed Dec 7, 2020
1 parent 3cc6999 commit 67766ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@
"@types/react": "17.0.0",
"@types/react-dom": "17.0.0",
"eslint-config-prettier": "7.0.0",
"@wojtekmaj/enzyme-adapter-react-17": "0.1.1",
"enzyme": "3.11.0",
"enzyme-to-json": "3.6.1",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jest": "24.1.3",
"eslint-plugin-jsx-a11y": "6.4.1",
Expand Down
2 changes: 1 addition & 1 deletion src/setupTests.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { configure } from "enzyme";
import Adapter from "enzyme-adapter-react-16";
import Adapter from "@wojtekmaj/enzyme-adapter-react-17";

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

Expand Down

0 comments on commit 67766ff

Please sign in to comment.