summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/testing.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-02-20 23:22:07 -0500
committerGitHub <noreply@github.com>2024-02-20 23:22:07 -0500
commit6592a92c203b30a8aae72a645ce1822fd740a2a7 (patch)
tree0efe58b3456cae83fd2d600aea9bcec635f7fd95 /ext/node/polyfills/testing.ts
parente32c704970d9c332367757cbd21f1905c2d11486 (diff)
fix(node/test): disable Deno test sanitizers (#22480)
Closes #22473
Diffstat (limited to 'ext/node/polyfills/testing.ts')
-rw-r--r--ext/node/polyfills/testing.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/node/polyfills/testing.ts b/ext/node/polyfills/testing.ts
index b04456ce8..b6733f118 100644
--- a/ext/node/polyfills/testing.ts
+++ b/ext/node/polyfills/testing.ts
@@ -61,6 +61,9 @@ class NodeTestContext {
await prepared.fn(newNodeTextContext);
},
ignore: prepared.options.todo || prepared.options.skip,
+ sanitizeExit: false,
+ sanitizeOps: false,
+ sanitizeResources: false,
}).then(() => undefined);
}
@@ -131,6 +134,9 @@ function prepareDenoTest(name, options, fn, overrides) {
fn: wrapTestFn(prepared.fn, resolve),
only: prepared.options.only,
ignore: prepared.options.todo || prepared.options.skip,
+ sanitizeExit: false,
+ sanitizeOps: false,
+ sanitizeResources: false,
};
Deno.test(denoTestOptions);
return promise;