Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update react-dom & enzyme adapter
Browse files Browse the repository at this point in the history
Hypnosphi committed Mar 19, 2021

Verified

This commit was signed with the committer’s verified signature. The key has expired.
chfast Paweł Bylica
1 parent 8c19ffe commit 05172b1
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/generator/app/templates/package.json
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@
"postcss-preset-env": "^6.7.0",
"prop-types": "^15.7.2",
"react": "^17.0.1",
"react-dom": "^16.14.0",
"react-dom": "^17.0.1",
"redbox-react": "^1.6.0",
"webpack": "^4.46.0",
"webpack-cli": "^4.5.0",
@@ -48,14 +48,14 @@
"devDependencies": {
"@jetbrains/eslint-config": "^5.3.1",
"@jetbrains/stylelint-config": "^2.0.1",
"@wojtekmaj/enzyme-adapter-react-17": "^0.4.1",
"babel-eslint": "^10.1.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"chai-dom": "^1.9.0",
"chai-enzyme": "1.0.0-beta.1",
"electron": "^11.3.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^7.22.0",
"eslint-plugin-bdd": "^2.1.1",
"eslint-plugin-import": "^2.22.1",
2 changes: 1 addition & 1 deletion packages/generator/app/templates/test-bundler.js
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ import sinonChai from 'sinon-chai';
import chaiEnzyme from 'chai-enzyme';
import sinon from 'sinon';
import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
import Adapter from '@wojtekmaj/enzyme-adapter-react-17';

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

0 comments on commit 05172b1

Please sign in to comment.