aboutsummaryrefslogtreecommitdiff
path: root/test/js/node/harness.ts
diff options
context:
space:
mode:
authorGravatar Vlad Sirenko <sirenkovladd@gmail.com> 2023-07-29 02:00:43 +0300
committerGravatar GitHub <noreply@github.com> 2023-07-28 16:00:43 -0700
commit9078b1286d49d69da435256e80ab0b2e21230b18 (patch)
tree9d977611014734d6fd7d70fc2f4f1b3b848d5264 /test/js/node/harness.ts
parent242d8655d854c1b818c38d9b021a31d673638e1e (diff)
downloadbun-9078b1286d49d69da435256e80ab0b2e21230b18.tar.gz
bun-9078b1286d49d69da435256e80ab0b2e21230b18.tar.zst
bun-9078b1286d49d69da435256e80ab0b2e21230b18.zip
add fork to child_process (#3851)
* add fork to child_process * fix export * add test to child_process method `fork` * fmt fork * remove only from test
Diffstat (limited to '')
-rw-r--r--test/js/node/harness.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/js/node/harness.ts b/test/js/node/harness.ts
index 9cea1b781..bd34f541a 100644
--- a/test/js/node/harness.ts
+++ b/test/js/node/harness.ts
@@ -107,8 +107,6 @@ export function createTest(path: string) {
}
function mustNotCall(reason: string = "function should not have been called", optionalCb?: (err?: any) => void) {
- const localDone = createDone();
- timers.push(setTimeout(() => localDone(), 200));
return () => {
closeTimers();
if (optionalCb) optionalCb.apply(undefined, reason ? [reason] : []);