Skip to content

Commit

Permalink
Remove @remap-prod-remove-line comments from configureStore.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Jan 18, 2024
1 parent 3909d69 commit 45aa461
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/toolkit/src/tests/configureStore.test.ts
Expand Up @@ -41,7 +41,7 @@ describe('configureStore', async () => {
expect.any(Function)
)
expect(redux.applyMiddleware).toHaveBeenCalled()
expect(composeWithDevToolsSpy).toHaveBeenCalled() // @remap-prod-remove-line
expect(composeWithDevToolsSpy).toHaveBeenCalled()
})
})

Expand All @@ -55,7 +55,7 @@ describe('configureStore', async () => {
expect(configureStore({ reducer })).toBeInstanceOf(Object)
expect(redux.combineReducers).toHaveBeenCalledWith(reducer)
expect(redux.applyMiddleware).toHaveBeenCalled()
expect(composeWithDevToolsSpy).toHaveBeenCalled() // @remap-prod-remove-line-line
expect(composeWithDevToolsSpy).toHaveBeenCalled()
expect(redux.createStore).toHaveBeenCalledWith(
expect.any(Function),
undefined,
Expand All @@ -78,7 +78,7 @@ describe('configureStore', async () => {
configureStore({ middleware: () => new Tuple(), reducer })
).toBeInstanceOf(Object)
expect(redux.applyMiddleware).toHaveBeenCalledWith()
expect(composeWithDevToolsSpy).toHaveBeenCalled() // @remap-prod-remove-line-line
expect(composeWithDevToolsSpy).toHaveBeenCalled()
expect(redux.createStore).toHaveBeenCalledWith(
reducer,
undefined,
Expand Down Expand Up @@ -107,7 +107,7 @@ describe('configureStore', async () => {
expect.any(Function), // serializableCheck
expect.any(Function) // actionCreatorCheck
)
expect(composeWithDevToolsSpy).toHaveBeenCalled() // @remap-prod-remove-line-line
expect(composeWithDevToolsSpy).toHaveBeenCalled()
expect(redux.createStore).toHaveBeenCalledWith(
reducer,
undefined,
Expand Down Expand Up @@ -144,7 +144,7 @@ describe('configureStore', async () => {
configureStore({ middleware: () => new Tuple(thank), reducer })
).toBeInstanceOf(Object)
expect(redux.applyMiddleware).toHaveBeenCalledWith(thank)
expect(composeWithDevToolsSpy).toHaveBeenCalled() // @remap-prod-remove-line-line
expect(composeWithDevToolsSpy).toHaveBeenCalled()
expect(redux.createStore).toHaveBeenCalledWith(
reducer,
undefined,
Expand Down Expand Up @@ -199,7 +199,7 @@ describe('configureStore', async () => {
Object
)
expect(redux.applyMiddleware).toHaveBeenCalled()
expect(composeWithDevToolsSpy).toHaveBeenCalledWith(options) // @remap-prod-remove-line
expect(composeWithDevToolsSpy).toHaveBeenCalledWith(options)
expect(redux.createStore).toHaveBeenCalledWith(
reducer,
undefined,
Expand All @@ -212,7 +212,7 @@ describe('configureStore', async () => {
it('calls createStore with preloadedState', () => {
expect(configureStore({ reducer })).toBeInstanceOf(Object)
expect(redux.applyMiddleware).toHaveBeenCalled()
expect(composeWithDevToolsSpy).toHaveBeenCalled() // @remap-prod-remove-line
expect(composeWithDevToolsSpy).toHaveBeenCalled()
expect(redux.createStore).toHaveBeenCalledWith(
reducer,
undefined,
Expand Down Expand Up @@ -243,7 +243,7 @@ describe('configureStore', async () => {
})
).toBeInstanceOf(Object)
expect(redux.applyMiddleware).toHaveBeenCalled()
expect(composeWithDevToolsSpy).toHaveBeenCalled() // @remap-prod-remove-line
expect(composeWithDevToolsSpy).toHaveBeenCalled()
expect(redux.createStore).toHaveBeenCalledWith(
reducer,
undefined,
Expand Down

0 comments on commit 45aa461

Please sign in to comment.