Skip to content

Commit 1e11b36

Browse files
committed
test: align feishu replay helper typing
1 parent c09031f commit 1e11b36

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/feishu/src/test-support/lifecycle-test-support.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,15 +386,15 @@ export async function expectFeishuReplyPipelineDedupedAfterPostSendFailure(param
386386
expect(params.dispatchReplyFromConfigMock).toHaveBeenCalledTimes(1);
387387
expect(params.runtimeErrorMock).toHaveBeenCalledTimes(1);
388388
},
389-
{ timeout: waitTimeoutMs },
389+
waitTimeoutMs == null ? undefined : { timeout: waitTimeoutMs },
390390
),
391391
waitForSecond: () =>
392392
vi.waitFor(
393393
() => {
394394
expect(params.dispatchReplyFromConfigMock).toHaveBeenCalledTimes(1);
395395
expect(params.runtimeErrorMock).toHaveBeenCalledTimes(1);
396396
},
397-
{ timeout: waitTimeoutMs },
397+
waitTimeoutMs == null ? undefined : { timeout: waitTimeoutMs },
398398
),
399399
});
400400
}

0 commit comments

Comments
 (0)