From 4136209f3dfbdf1056b7589eee4a94a08f7f2262 Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Wed, 29 Jan 2020 13:45:16 -0330 Subject: [PATCH] Remove redux-logger from mock-store (#7930) --- package.json | 1 - test/lib/mock-store.js | 8 +------- yarn.lock | 12 ------------ 3 files changed, 1 insertion(+), 20 deletions(-) diff --git a/package.json b/package.json index 667876139..850dccf12 100644 --- a/package.json +++ b/package.json @@ -165,7 +165,6 @@ "readable-stream": "^2.3.3", "recompose": "^0.25.0", "redux": "^3.0.5", - "redux-logger": "^3.0.6", "redux-thunk": "^2.2.0", "reselect": "^3.0.1", "rpc-cap": "^1.0.3", diff --git a/test/lib/mock-store.js b/test/lib/mock-store.js index b007533b7..b37d42c51 100644 --- a/test/lib/mock-store.js +++ b/test/lib/mock-store.js @@ -1,17 +1,11 @@ import { applyMiddleware, createStore } from 'redux' import thunkMiddleware from 'redux-thunk' -import { createLogger } from 'redux-logger' const rootReducer = function () {} export default configureStore -const loggerMiddleware = createLogger() - -const createStoreWithMiddleware = applyMiddleware( - thunkMiddleware, - loggerMiddleware -)(createStore) +const createStoreWithMiddleware = applyMiddleware(thunkMiddleware)(createStore) function configureStore (initialState) { return createStoreWithMiddleware(rootReducer, initialState) diff --git a/yarn.lock b/yarn.lock index ca47f7d4e..0f9deb2cd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8686,11 +8686,6 @@ decompress@^4.0.0, decompress@^4.2.0: pify "^2.3.0" strip-dirs "^2.0.0" -deep-diff@^0.3.5: - version "0.3.8" - resolved "https://registry.yarnpkg.com/deep-diff/-/deep-diff-0.3.8.tgz#c01de63efb0eec9798801d40c7e0dae25b582c84" - integrity sha1-wB3mPvsO7JeYgB1Ax+Da4ltYLIQ= - deep-eql@^0.1.3: version "0.1.3" resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-0.1.3.tgz#ef558acab8de25206cd713906d74e56930eb69f2" @@ -24308,13 +24303,6 @@ redux-devtools-instrument@^1.9.4: lodash "^4.2.0" symbol-observable "^1.0.2" -redux-logger@^3.0.6: - version "3.0.6" - resolved "https://registry.yarnpkg.com/redux-logger/-/redux-logger-3.0.6.tgz#f7555966f3098f3c88604c449cf0baf5778274bf" - integrity sha1-91VZZvMJjzyIYExEnPC69XeCdL8= - dependencies: - deep-diff "^0.3.5" - redux-mock-store@^1.5.3: version "1.5.3" resolved "https://registry.yarnpkg.com/redux-mock-store/-/redux-mock-store-1.5.3.tgz#1f10528949b7ce8056c2532624f7cafa98576c6d"