@@ -125,7 +125,9 @@ describe('createAsyncThunk', () => {
125125
126126 try {
127127 await thunkFunction ( dispatch , ( ) => { } , undefined )
128- } catch ( e ) { }
128+ } catch ( e ) {
129+ /* empty */
130+ }
129131
130132 expect ( dispatch ) . toHaveBeenNthCalledWith (
131133 1 ,
@@ -161,7 +163,9 @@ describe('createAsyncThunk', () => {
161163
162164 try {
163165 await thunkFunction ( dispatch , ( ) => { } , undefined )
164- } catch ( e ) { }
166+ } catch ( e ) {
167+ /* empty */
168+ }
165169
166170 expect ( dispatch ) . toHaveBeenNthCalledWith (
167171 1 ,
@@ -200,7 +204,9 @@ describe('createAsyncThunk', () => {
200204
201205 try {
202206 await thunkFunction ( dispatch , ( ) => { } , undefined )
203- } catch ( e ) { }
207+ } catch ( e ) {
208+ /* empty */
209+ }
204210
205211 expect ( dispatch ) . toHaveBeenNthCalledWith (
206212 1 ,
@@ -245,7 +251,9 @@ describe('createAsyncThunk', () => {
245251
246252 try {
247253 await thunkFunction ( dispatch , ( ) => { } , undefined )
248- } catch ( e ) { }
254+ } catch ( e ) {
255+ /* empty */
256+ }
249257
250258 expect ( dispatch ) . toHaveBeenNthCalledWith (
251259 1 ,
@@ -290,7 +298,9 @@ describe('createAsyncThunk', () => {
290298
291299 try {
292300 await thunkFunction ( dispatch , ( ) => { } , undefined )
293- } catch ( e ) { }
301+ } catch ( e ) {
302+ /* empty */
303+ }
294304
295305 expect ( dispatch ) . toHaveBeenNthCalledWith (
296306 1 ,
@@ -344,7 +354,9 @@ describe('createAsyncThunk', () => {
344354
345355 try {
346356 await thunkFunction ( dispatch , ( ) => { } , undefined )
347- } catch ( e ) { }
357+ } catch ( e ) {
358+ /* empty */
359+ }
348360
349361 expect ( dispatch ) . toHaveBeenNthCalledWith (
350362 1 ,
@@ -631,7 +643,9 @@ describe('conditional skipping of asyncThunks', () => {
631643 const thunkPromise = asyncThunk ( arg ) ( dispatch , getState , extra )
632644 thunkPromise . abort ( )
633645 await thunkPromise
634- } catch ( err ) { }
646+ } catch ( err ) {
647+ /* empty */
648+ }
635649 expect ( dispatch ) . not . toHaveBeenCalled ( )
636650 } )
637651
@@ -960,6 +974,7 @@ describe('meta', () => {
960974 } )
961975
962976 if ( ret . meta . requestStatus === 'rejected' && ret . meta . rejectedWithValue ) {
977+ /* empty */
963978 } else {
964979 // could be caused by a `throw`, `abort()` or `condition` - no `rejectedMeta` in that case
965980 // @ts -expect-error
0 commit comments