From d9c85e016f054fd3b6c68a54213e7c0ad8c3a8f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 2 Aug 2023 17:11:04 +0200 Subject: fix(node): node:test reports correct location (#20025) Also removed some noisy output that caused test flakiness. --- ext/node/polyfills/testing.ts | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'ext/node/polyfills/testing.ts') diff --git a/ext/node/polyfills/testing.ts b/ext/node/polyfills/testing.ts index 2c112d9fb..192a0cc71 100644 --- a/ext/node/polyfills/testing.ts +++ b/ext/node/polyfills/testing.ts @@ -110,17 +110,8 @@ function prepareOptions(name, options, fn, overrides) { } const finalOptions = { ...options, ...overrides }; - const { concurrency, timeout, signal } = finalOptions; - - if (typeof concurrency !== "undefined") { - warnNotImplemented("test.options.concurrency"); - } - if (typeof timeout !== "undefined") { - warnNotImplemented("test.options.timeout"); - } - if (typeof signal !== "undefined") { - warnNotImplemented("test.options.signal"); - } + // TODO(bartlomieju): these options are currently not handled + // const { concurrency, timeout, signal } = finalOptions; if (typeof fn !== "function") { fn = noop; -- cgit v1.2.3