Skip to content

Commit 529e1bf

Browse files
Update TaskManager.test.ts
1 parent 6e2334e commit 529e1bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/task/__tests__/TaskManager.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ describe("TaskManager", () => {
9696
const workflowStatus = await TestUtil.waitForWorkflowCompletion(executor, status, BASE_TIME * 4);
9797

9898
expect(workflowStatus.status).toEqual("FAILED");
99-
expect(mockErrorHandler).toHaveBeenCalled();
99+
expect(mockErrorHandler).toBeCalledTimes(1);
100100
await manager.stopPolling();
101101
});
102102

0 commit comments

Comments
 (0)