Skip to content

Commit

Permalink
chore/update-redux-devtools-extension-3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
milad-emami committed Nov 20, 2024
1 parent 76f4143 commit 8339bde
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 14 deletions.
19 changes: 9 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"react-router-redux": "^5.0.0-alpha.9",
"redux": "4.2.1",
"redux-beacon": "^2.1.0",
"redux-devtools-extension": "2.13.9",
"@redux-devtools/extension": "3.0.0",
"redux-logger": "3.0.6",
"redux-thunk": "2.4.2",
"regenerator-runtime": "^0.14.0",
Expand Down
2 changes: 1 addition & 1 deletion src/data/store.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as redux from 'redux';
import thunkMiddleware from 'redux-thunk';
import { composeWithDevTools } from 'redux-devtools-extension/logOnlyInProduction';
import { composeWithDevTools } from '@redux-devtools/extension';
import { createLogger } from 'redux-logger';

import apiTestUtils from 'data/services/lms/fakeData/testUtils';
Expand Down
4 changes: 2 additions & 2 deletions src/data/store.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { applyMiddleware } from 'redux';
import thunkMiddleware from 'redux-thunk';
import { composeWithDevTools } from 'redux-devtools-extension/logOnlyInProduction';
import { composeWithDevTools } from '@redux-devtools/extension';
import { createLogger } from 'redux-logger';

import rootReducer, { actions, selectors } from 'data/redux';
Expand All @@ -22,7 +22,7 @@ jest.mock('redux', () => ({
applyMiddleware: (...middleware) => ({ applied: middleware }),
createStore: (reducer, middleware) => ({ reducer, middleware }),
}));
jest.mock('redux-devtools-extension/logOnlyInProduction', () => ({
jest.mock('@redux-devtools/extension', () => ({
composeWithDevTools: (middleware) => ({ withDevTools: middleware }),
}));

Expand Down

0 comments on commit 8339bde

Please sign in to comment.