File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/toolkit/src/query/tests Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,7 @@ describe('missing middleware', () => {
5959 test . each ( [
6060 [ 'development' , true ] ,
6161 [ 'production' , false ] ,
62- ] ) ( '%s warns if middleware is missing: %s' , ( [ env , shouldWarn ] ) => {
63- ; ( process . env as any ) . NODE_ENV = env
62+ ] ) ( '%s warns if middleware is missing: %s' , ( env , shouldWarn ) => {
6463 const store = configureStore ( {
6564 reducer : { [ api1 . reducerPath ] : api1 . reducer } ,
6665 } )
@@ -119,8 +118,7 @@ describe('missing reducer', () => {
119118 describe . each ( [
120119 [ 'development' , true ] ,
121120 [ 'production' , false ] ,
122- ] ) ( '%s warns if reducer is missing: %s' , ( [ env , shouldWarn ] ) => {
123- ; ( process . env as any ) . NODE_ENV = env
121+ ] ) ( '%s warns if reducer is missing: %s' , ( env , shouldWarn ) => {
124122 test ( 'middleware not crashing if reducer is missing' , async ( ) => {
125123 const store = configureStore ( {
126124 reducer : { x : ( ) => 0 } ,
You can’t perform that action at this time.
0 commit comments