chore: fix lint errors — noBannedTypes, import ordering, formatting
Deploy FileDrop / deploy (push) Successful in 42s
Deploy FileDrop / deploy (push) Successful in 42s
- Replace unsafe 'Function' type in test with ITelegramService interface - Biome auto-fix formatting and import sorting across 8 files Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { afterEach, beforeAll, beforeEach, describe, expect, it, mock, spyOn } from 'bun:test';
|
||||
import type { ITelegramService } from '../src/domain/ports/telegram-service';
|
||||
import { config } from '../src/env';
|
||||
import logger from '../src/utils/logger';
|
||||
|
||||
@@ -65,7 +66,7 @@ const infoSpy = spyOn(logger, 'info');
|
||||
const errorSpy = spyOn(logger, 'error');
|
||||
|
||||
describe('Telegram API Utilities', () => {
|
||||
let botPool: { forwardToStorage: Function; getFileInfo: Function; enqueueUpload: Function };
|
||||
let botPool: ITelegramService;
|
||||
|
||||
beforeEach(async () => {
|
||||
infoSpy.mockClear();
|
||||
|
||||
Reference in New Issue
Block a user