Skip to content

Commit 7c45ed9

Browse files
committed
De-flake shell-load.test.ts
1 parent a758621 commit 7c45ed9

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

test/js/bun/shell/shell-immediate-exit-fixture.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/js/bun/shell/shell-load.test.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@ import { isCI, isWindows } from "harness";
33
import path from "path";
44
describe("shell load", () => {
55
// windows process spawning is a lot slower
6-
test.skipIf(isCI && isWindows)("immediate exit", () => {
7-
expect([path.join(import.meta.dir, "./shell-immediate-exit-fixture.js")]).toRun();
8-
});
6+
test.skipIf(isCI && isWindows)(
7+
"immediate exit",
8+
() => {
9+
expect([path.join(import.meta.dir, "./shell-immediate-exit-fixture.js")]).toRun();
10+
},
11+
{
12+
timeout: 1000 * 15,
13+
},
14+
);
915
});

0 commit comments

Comments
 (0)