tests to ensure entries are created

This commit is contained in:
iPromKnight
2024-02-09 14:59:27 +00:00
committed by iPromKnight
parent c2ada8344e
commit 36864e4db1
9 changed files with 260 additions and 16 deletions

View File

@@ -53,6 +53,7 @@ describe('ProcessTorrentsJob Tests', () => {
torrentProcessingService: ITorrentProcessingService;
beforeEach(() => {
jest.clearAllMocks();
loggingService = jest.requireMock<ILoggingService>('@services/logging_service');
torrentProcessingService = jest.requireMock('@services/torrent_processing_service');
processTorrentsJob = new ProcessTorrentsJob(torrentProcessingService, loggingService);