lint fixes
This commit is contained in:
parent
1f190b1068
commit
c1d04723e1
17 changed files with 34 additions and 27 deletions
|
|
@ -38,7 +38,7 @@ describe('Batch Processor', () => {
|
|||
'generic': async (payload) => {
|
||||
return { processed: true, data: payload };
|
||||
},
|
||||
'process-batch-items': async (batchData) => {
|
||||
'process-batch-items': async (_batchData) => {
|
||||
// This is called by the batch processor internally
|
||||
return { batchProcessed: true };
|
||||
},
|
||||
|
|
@ -87,7 +87,7 @@ describe('Batch Processor', () => {
|
|||
await queue.getBullQueue().clean(0, 1000, 'active');
|
||||
await queue.getBullQueue().clean(0, 1000, 'waiting');
|
||||
await queue.getBullQueue().clean(0, 1000, 'delayed');
|
||||
} catch (error) {
|
||||
} catch {
|
||||
// Ignore cleanup errors
|
||||
}
|
||||
await queue.close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue