@@ -22,7 +22,7 @@ describe('flows', () => {
2222 let queue : Queue ;
2323 let queueName : string ;
2424
25- let connection ;
25+ let connection : IORedis ;
2626 before ( async function ( ) {
2727 connection = new IORedis ( redisHost , { maxRetriesPerRequest : null } ) ;
2828 } ) ;
@@ -268,8 +268,9 @@ describe('flows', () => {
268268 async job => {
269269 await delay ( 100 ) ;
270270
271- const jobIdFromDebounceKey =
272- await queue . getDebounceJobId ( 'debounce_id' ) ;
271+ const jobIdFromDebounceKey = await queue . getDebounceJobId (
272+ 'debounce_id' ,
273+ ) ;
273274 expect ( jobIdFromDebounceKey ) . to . be . equal ( job . id ) ;
274275
275276 await flow . add ( {
@@ -335,8 +336,9 @@ describe('flows', () => {
335336
336337 await completing ;
337338
338- const jobIdFromDebounceKey =
339- await queue . getDebounceJobId ( 'debounce_id' ) ;
339+ const jobIdFromDebounceKey = await queue . getDebounceJobId (
340+ 'debounce_id' ,
341+ ) ;
340342 expect ( jobIdFromDebounceKey ) . to . be . null ;
341343
342344 expect ( debouncedCounter ) . to . be . equal ( 1 ) ;
@@ -3427,7 +3429,9 @@ describe('flows', () => {
34273429 } else {
34283430 reject (
34293431 new Error (
3430- `wrong job (${ jobId } ) failed instead of ${ tree ! . children ! [ 0 ] . job . id } ` ,
3432+ `wrong job (${ jobId } ) failed instead of ${
3433+ tree ! . children ! [ 0 ] . job . id
3434+ } `,
34313435 ) ,
34323436 ) ;
34333437 }
@@ -3573,7 +3577,9 @@ describe('flows', () => {
35733577 } else {
35743578 reject (
35753579 new Error (
3576- `wrong job (${ jobId } ) failed instead of ${ tree ! . children ! [ 0 ] . job . id } ` ,
3580+ `wrong job (${ jobId } ) failed instead of ${
3581+ tree ! . children ! [ 0 ] . job . id
3582+ } `,
35773583 ) ,
35783584 ) ;
35793585 }
0 commit comments