Skip to content

Commit

Permalink
update react and enzyme to v17 (#2)
Browse files Browse the repository at this point in the history
* update react and enzyme to v17

* add dist

* fix version

* fix gitignore

* delete dist
  • Loading branch information
viktor-chepyshko99 authored Jan 12, 2023
1 parent 5d1aad5 commit 5f703b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jest.setup.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
import Adapter from '@wojtekmaj/enzyme-adapter-react-17';

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

Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paysera/redux-state-restore",
"version": "1.0.3",
"version": "1.1.0",
"description": "Provides tools to persist current redux state to local storage and reinitialize it based on requirements",
"main": "dist/main.js",
"scripts": {
Expand Down Expand Up @@ -38,12 +38,13 @@
},
"homepage": "https://github.com/paysera/js-lib-redux-state-restore#readme",
"dependencies": {
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
"localforage": "^1.7.3",
"lodash": "^4.17.15",
"promise-worker": "^2.0.1",
"prop-types": "^15.7.2",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"redux": "^4.0.4",
"redux-actions": "^2.6.5",
"redux-thunk": "^2.3.0"
Expand Down

0 comments on commit 5f703b4

Please sign in to comment.