diff options
Diffstat (limited to 'test/js/node/harness.ts')
| -rw-r--r-- | test/js/node/harness.ts | 2 |
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] : []); |
