From 69f27438b234020222119dfbf4dee62c5e7d49c1 Mon Sep 17 00:00:00 2001 From: GleidsonDaniel Date: Tue, 21 Dec 2021 17:14:08 -0300 Subject: [PATCH] chore: remove applyAppStateMiddleware --- __mocks__/mockedStore.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/__mocks__/mockedStore.ts b/__mocks__/mockedStore.ts index 3da9dd0e9..a29b7f629 100644 --- a/__mocks__/mockedStore.ts +++ b/__mocks__/mockedStore.ts @@ -1,8 +1,7 @@ import { applyMiddleware, compose, createStore } from 'redux'; import createSagaMiddleware from 'redux-saga'; -import applyAppStateMiddleware from '../app/lib/appStateMiddleware'; import reducers from '../app/reducers'; -const enhancers = compose(applyAppStateMiddleware(), applyMiddleware(createSagaMiddleware())); +const enhancers = compose(applyMiddleware(createSagaMiddleware())); export const mockedStore = createStore(reducers, enhancers);