Skip to content

Commit 12c0acb

Browse files
committed
test(crabbox): satisfy heartbeat timeout regression lint
1 parent 398c635 commit 12c0acb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎extensions/crabbox/src/crabbox-worker-provider.test.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2106,7 +2106,9 @@ describe("Crabbox worker provider", () => {
21062106
return commandResult({ stdout: inspectJson() });
21072107
}
21082108
if (argv[1] === "heartbeat") {
2109-
await new Promise((resolve) => setTimeout(resolve, 60_012));
2109+
await new Promise<void>((resolve) => {
2110+
setTimeout(resolve, 60_012);
2111+
});
21102112
return commandResult({ code: null, killed: true, termination: "timeout" });
21112113
}
21122114
return commandResult();

0 commit comments

Comments
 (0)