-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure shell keeps process alive while running (#13777)
- Loading branch information
1 parent
ed7741a
commit 69f97ce
Showing
4 changed files
with
77 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { expect, test } from "bun:test"; | ||
import { join } from "path"; | ||
import "harness"; | ||
|
||
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(); | ||
}); |