fix small error so typescript knows type assigned

This commit is contained in:
iPromKnight
2024-02-08 12:52:41 +00:00
committed by iPromKnight
parent 4bc4b7958f
commit 9308577190

View File

@@ -94,7 +94,7 @@ describe('ProcessTorrentsJob', () => {
})),
} as ConsumeMessage;
(client.connect as any).mockResolvedValue({
(client.connect as jest.Mock).mockResolvedValue({
createChannel: jest.fn().mockResolvedValue({
assertQueue: jest.fn().mockResolvedValue({
consumerCount: 1,