lint fixes

This commit is contained in:
Boki 2025-06-20 07:15:12 -04:00
parent 1f190b1068
commit c1d04723e1
17 changed files with 34 additions and 27 deletions

View file

@ -1,5 +1,5 @@
import { describe, test, expect, beforeEach, afterEach } from 'bun:test';
import { Queue, Worker, Job } from 'bullmq';
import { Queue, Worker } from 'bullmq';
import { DeadLetterQueueHandler } from '../src/dlq-handler';
import { getRedisConnection } from '../src/utils';
@ -50,7 +50,7 @@ describe('DeadLetterQueueHandler', () => {
}
await dlqHandler.shutdown();
await mainQueue.close();
} catch (error) {
} catch {
// Ignore cleanup errors
}
await new Promise(resolve => setTimeout(resolve, 50));
@ -70,7 +70,7 @@ describe('DeadLetterQueueHandler', () => {
});
// Add job with limited attempts
const job = await mainQueue.add('failing-job', { test: true }, {
const _job = await mainQueue.add('failing-job', { test: true }, {
attempts: 3,
backoff: { type: 'fixed', delay: 50 },
});