summaryrefslogtreecommitdiff
path: root/tests/testdata/node/test_no_sanitizers
diff options
context:
space:
mode:
authorMohammad Sulaiman <mohammad.sulaiman@exalt.ps>2024-09-16 11:53:20 +0300
committerGitHub <noreply@github.com>2024-09-16 09:53:20 +0100
commiteb8ee95f08186c948e5b83501cedd59d6e3b4ef2 (patch)
treed22a95d6c5db63c0e6481e8a8eb04e292d760e9a /tests/testdata/node/test_no_sanitizers
parente4ea9be87463ce1b13e826db80452b17a9762f32 (diff)
chore: deprecate node compat itests (#25573)
Diffstat (limited to 'tests/testdata/node/test_no_sanitizers')
-rw-r--r--tests/testdata/node/test_no_sanitizers/test.js29
-rw-r--r--tests/testdata/node/test_no_sanitizers/test.out7
2 files changed, 0 insertions, 36 deletions
diff --git a/tests/testdata/node/test_no_sanitizers/test.js b/tests/testdata/node/test_no_sanitizers/test.js
deleted file mode 100644
index edd558710..000000000
--- a/tests/testdata/node/test_no_sanitizers/test.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import test from "node:test";
-
-test("should not complain about resource and op sanitizers", async (t) => {
- // resource
- const _file1 = Deno.open("welcome.ts");
-
- await t.test("nested test", () => {
- // resource
- const _file2 = Deno.open("cat.ts");
-
- // op
- crypto.subtle.digest(
- "SHA-256",
- new TextEncoder().encode("a".repeat(1_000_000)),
- );
- });
-
- // op
- crypto.subtle.digest(
- "SHA-256",
- new TextEncoder().encode("a".repeat(1_000_000)),
- );
-});
-
-// TODO(mmastrac): This works, but we don't reliably flush stdout/stderr here, making this test flake
-// test("should allow exit", () => {
-// // no exit sanitizers
-// Deno.exit(123);
-// });
diff --git a/tests/testdata/node/test_no_sanitizers/test.out b/tests/testdata/node/test_no_sanitizers/test.out
deleted file mode 100644
index 5bd41aadf..000000000
--- a/tests/testdata/node/test_no_sanitizers/test.out
+++ /dev/null
@@ -1,7 +0,0 @@
-running 1 test from ./node/test_no_sanitizers/test.js
-should not complain about resource and op sanitizers ...
- nested test ... ok ([WILDCARD])
-should not complain about resource and op sanitizers ... ok ([WILDCARD])
-
-ok | 1 passed (1 step) | 0 failed ([WILDCARD])
-