diff options
Diffstat (limited to 'tests/testdata/node')
-rw-r--r-- | tests/testdata/node/test_no_sanitizers/test.js | 9 | ||||
-rw-r--r-- | tests/testdata/node/test_no_sanitizers/test.out | 6 |
2 files changed, 9 insertions, 6 deletions
diff --git a/tests/testdata/node/test_no_sanitizers/test.js b/tests/testdata/node/test_no_sanitizers/test.js index d2ca8a6c7..edd558710 100644 --- a/tests/testdata/node/test_no_sanitizers/test.js +++ b/tests/testdata/node/test_no_sanitizers/test.js @@ -22,7 +22,8 @@ test("should not complain about resource and op sanitizers", async (t) => { ); }); -test("should allow exit", () => { - // no exit sanitizers - Deno.exit(123); -}); +// 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 index f52bed3ab..5bd41aadf 100644 --- a/tests/testdata/node/test_no_sanitizers/test.out +++ b/tests/testdata/node/test_no_sanitizers/test.out @@ -1,5 +1,7 @@ -running 2 tests from ./node/test_no_sanitizers/test.js +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]) -should allow exit ...
\ No newline at end of file + +ok | 1 passed (1 step) | 0 failed ([WILDCARD]) + |