summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/testing.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-08-02 17:11:04 +0200
committerGitHub <noreply@github.com>2023-08-02 17:11:04 +0200
commitd9c85e016f054fd3b6c68a54213e7c0ad8c3a8f4 (patch)
treeedc896aceafb0c35ddedea2ba28cc7ce600bf6e7 /ext/node/polyfills/testing.ts
parent1cb16683bcaf3223de560a7560647aadfea78d31 (diff)
fix(node): node:test reports correct location (#20025)
Also removed some noisy output that caused test flakiness.
Diffstat (limited to 'ext/node/polyfills/testing.ts')
-rw-r--r--ext/node/polyfills/testing.ts13
1 files changed, 2 insertions, 11 deletions
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;