From 9078b1286d49d69da435256e80ab0b2e21230b18 Mon Sep 17 00:00:00 2001 From: Vlad Sirenko Date: Sat, 29 Jul 2023 02:00:43 +0300 Subject: 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 --- test/js/node/harness.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'test/js/node/harness.ts') 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] : []); -- cgit v1.2.3