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 375e8d5 commit 52b14aaCopy full SHA for 52b14aa
src/sync/__tests__/syncTask.mock.ts
@@ -1,6 +1,6 @@
1
export function syncTaskFactory() {
2
return {
3
- execute: jest.fn(),
+ execute: jest.fn(() => Promise.resolve(true)),
4
isExecuting: jest.fn(),
5
start: jest.fn(),
6
stop: jest.fn(),
0 commit comments