Skip to content

Commit

Permalink
chore: update to react@17
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Stenin authored and yarastqt committed Apr 27, 2021
1 parent ff86996 commit 369e91c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .config/jest/jest.setup.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
'use strict'

const Enzyme = require('enzyme')
const Adapter = require('enzyme-adapter-react-16')
// TODO: migrate to @testing-library
const Adapter = require('@wojtekmaj/enzyme-adapter-react-17')

Enzyme.configure({ adapter: new Adapter() })

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"@types/react": "16.8.8",
"@typescript-eslint/eslint-plugin": "2.22.0",
"@typescript-eslint/parser": "2.22.0",
"@wojtekmaj/enzyme-adapter-react-17": "0.6.1",
"chalk": "2.4.1",
"enzyme": "3.7.0",
"enzyme-adapter-react-16": "1.7.0",
"eslint": "6.8.0",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-react-hooks": "2.5.0",
Expand All @@ -30,8 +30,8 @@
"lint-staged": "9.2.5",
"prettier": "1.18.2",
"pretty-bytes": "5.2.0",
"react": "16.8.4",
"react-dom": "16.8.4",
"react": "17.0.2",
"react-dom": "17.0.2",
"rollup": "1.10.1",
"rollup-plugin-node-resolve": "4.2.3",
"rollup-plugin-replace": "2.1.0",
Expand Down

0 comments on commit 369e91c

Please sign in to comment.