There was an error while loading. Please reload this page.
1 parent 9a76f29 commit 5464421Copy full SHA for 5464421
1 file changed
packages/modules/workflow-engine-redis/integration-tests/__tests__/race.spec.ts
@@ -96,7 +96,9 @@ moduleIntegrationTestRunner<IWorkflowEngineService>({
96
if (event.eventType === "onFinish") {
97
try {
98
expect(step0InvokeMock).toHaveBeenCalledTimes(1)
99
- expect(step1InvokeMock.mock.calls.length).toBeGreaterThan(1)
+ expect(
100
+ step1InvokeMock.mock.calls.length
101
+ ).toBeGreaterThanOrEqual(1)
102
expect(step2InvokeMock).toHaveBeenCalledTimes(1)
103
expect(transformMock).toHaveBeenCalledTimes(1)
104
0 commit comments