@@ -102,7 +102,7 @@ describe('configureStore', async () => {
102
102
describe ( 'given no reducer' , ( ) => {
103
103
it ( 'throws' , ( ) => {
104
104
expect ( configureStore ) . toThrow (
105
- '" reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers'
105
+ '` reducer` is a required argument, and must be a function or an object of functions that can be passed to combineReducers'
106
106
)
107
107
} )
108
108
} )
@@ -126,7 +126,7 @@ describe('configureStore', async () => {
126
126
it ( 'throws an error requiring a callback' , ( ) => {
127
127
// @ts -expect-error
128
128
expect ( ( ) => configureStore ( { middleware : [ ] , reducer } ) ) . toThrow (
129
- '" middleware" field must be a callback'
129
+ '` middleware` field must be a callback'
130
130
)
131
131
} )
132
132
} )
@@ -291,14 +291,14 @@ describe('configureStore', async () => {
291
291
describe ( 'invalid arguments' , ( ) => {
292
292
test ( 'enhancers is not a callback' , ( ) => {
293
293
expect ( ( ) => configureStore ( { reducer, enhancers : [ ] as any } ) ) . toThrow (
294
- '" enhancers" field must be a callback'
294
+ '` enhancers` field must be a callback'
295
295
)
296
296
} )
297
297
298
298
test ( 'callback fails to return array' , ( ) => {
299
299
expect ( ( ) =>
300
300
configureStore ( { reducer, enhancers : ( ( ) => { } ) as any } )
301
- ) . toThrow ( '" enhancers" callback must return an array' )
301
+ ) . toThrow ( '` enhancers` callback must return an array' )
302
302
} )
303
303
304
304
test ( 'array contains non-function' , ( ) => {
0 commit comments