We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c07a7b4 commit a186d0cCopy full SHA for a186d0c
jest.setup.js
@@ -10,7 +10,7 @@ const mockedAmqpChannel = {
10
close: jest.fn(),
11
assertQueue: jest.fn(),
12
prefetch: jest.fn(),
13
- sendToQueue: jest.fn(),
+ sendToQueue: jest.fn().mockReturnValue(true),
14
on: jest.fn(),
15
consume: jest.fn().mockReturnValue('mockedTag'),
16
};
0 commit comments