Files
bun-src/test/cli/run/shell-keepalive.test.ts
2026-08-27 21:09:14 +00:00

12 lines
488 B
TypeScript

import { expect, test } from "bun:test";
import { bunRun } from "harness";
import { join } from "path";
test.concurrent("shell should stay alive while a builtin command is in progress", async () => {
expect(await bunRun(join(import.meta.dir, "shell-keepalive-fixture-1.js"))).toSpawn();
});
test.concurrent("shell should stay alive while a non-builtin command is in progress", async () => {
expect(await bunRun(join(import.meta.dir, "shell-keepalive-fixture-2.js"))).toSpawn();
});