Files
bun.sh/test/cli/run/shell-keepalive.test.ts
Jarred Sumner 1458fcca4a Run formatter
2024-09-06 18:13:08 -07:00

12 lines
422 B
TypeScript

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