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 6edbe02 commit c5b5283
Show file tree
Hide file tree
Showing 3 changed files with 3,910 additions and 2,502 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@
"classnames": "2.2.6",
"clone-deep": "4.0.1",
"d3": "6.2.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.5",
"enzyme-to-json": "3.6.1",
"immer": "7.0.9",
"node-sass": "4.14.1",
"prop-types": "15.7.2",
Expand All @@ -72,7 +69,7 @@
"react-ga": "3.2.0",
"react-redux": "7.2.1",
"react-router-dom": "5.2.0",
"react-scripts": "3.4.3",
"react-scripts": "4.0.0",
"react-test-renderer": "17.0.1",
"redux": "4.0.5",
"redux-devtools-extension": "2.13.8",
Expand All @@ -85,6 +82,9 @@
"xterm-addon-fit": "0.4.0"
},
"devDependencies": {
"@wojtekmaj/enzyme-adapter-react-17": "0.1.1",
"enzyme": "3.11.0",
"enzyme-to-json": "3.6.1",
"eslint-config-prettier": "6.13.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jest": "24.1.0",
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
Loading

0 comments on commit c5b5283

Please sign in to comment.