We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40f8149 commit b36abdbCopy full SHA for b36abdb
test.js
@@ -24,7 +24,7 @@ test("simple", done => {
24
const child = fork(join(testDir, "child.js"));
25
26
child.on("exit", async () => {
27
- await sleep(100);
+ await sleep(1000); // give the child some time to exit
28
const [ppid, envVar] = (await readFile(join(testDir, "test-output"), "utf8")).split(",");
29
30
// check if process was correctly orphaned. on unix, this should generally mean that
0 commit comments