@@ -179,7 +179,7 @@ describe('queryFn base implementation tests', () => {
179
179
result = await store . dispatch ( thunk )
180
180
} ) . toHaveConsoleOutput (
181
181
endpointName . includes ( 'Throw' )
182
- ? `An unhandled error occured processing a request for the endpoint "${ endpointName } ".
182
+ ? `An unhandled error occurred processing a request for the endpoint "${ endpointName } ".
183
183
In the case of an unhandled error, no tags will be "provided" or "invalidated". [Error: resultFrom(${ endpointName } )]`
184
184
: ''
185
185
)
@@ -227,7 +227,7 @@ describe('queryFn base implementation tests', () => {
227
227
result = await store . dispatch ( thunk )
228
228
} ) . toHaveConsoleOutput (
229
229
endpointName . includes ( 'Throw' )
230
- ? `An unhandled error occured processing a request for the endpoint "${ endpointName } ".
230
+ ? `An unhandled error occurred processing a request for the endpoint "${ endpointName } ".
231
231
In the case of an unhandled error, no tags will be "provided" or "invalidated". [Error: resultFrom(${ endpointName } )]`
232
232
: ''
233
233
)
@@ -262,7 +262,7 @@ describe('queryFn base implementation tests', () => {
262
262
await expect ( async ( ) => {
263
263
result = await store . dispatch ( thunk )
264
264
} ) . toHaveConsoleOutput (
265
- `An unhandled error occured processing a request for the endpoint "withNeither".
265
+ `An unhandled error occurred processing a request for the endpoint "withNeither".
266
266
In the case of an unhandled error, no tags will be "provided" or "invalidated". [TypeError: endpointDefinition.queryFn is not a function]`
267
267
)
268
268
expect ( result ! . error ) . toEqual (
@@ -280,7 +280,7 @@ describe('queryFn base implementation tests', () => {
280
280
await expect ( async ( ) => {
281
281
result = await store . dispatch ( thunk )
282
282
} ) . toHaveConsoleOutput (
283
- `An unhandled error occured processing a request for the endpoint "mutationWithNeither".
283
+ `An unhandled error occurred processing a request for the endpoint "mutationWithNeither".
284
284
In the case of an unhandled error, no tags will be "provided" or "invalidated". [TypeError: endpointDefinition.queryFn is not a function]`
285
285
)
286
286
expect ( ( result as any ) . error ) . toEqual (
@@ -379,7 +379,7 @@ describe('usage scenario tests', () => {
379
379
api . endpoints . getMissingFirebaseUser . initiate ( 1 )
380
380
)
381
381
} )
382
- . toHaveConsoleOutput ( `An unhandled error occured processing a request for the endpoint "getMissingFirebaseUser".
382
+ . toHaveConsoleOutput ( `An unhandled error occurred processing a request for the endpoint "getMissingFirebaseUser".
383
383
In the case of an unhandled error, no tags will be "provided" or "invalidated". [Error: Missing user]` )
384
384
385
385
expect ( result ! . data ) . toBeUndefined ( )
0 commit comments