diff options
Diffstat (limited to 'tests/testdata/test/ops_sanitizer_unstable.ts')
-rw-r--r-- | tests/testdata/test/ops_sanitizer_unstable.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/testdata/test/ops_sanitizer_unstable.ts b/tests/testdata/test/ops_sanitizer_unstable.ts new file mode 100644 index 000000000..d1b554adf --- /dev/null +++ b/tests/testdata/test/ops_sanitizer_unstable.ts @@ -0,0 +1,9 @@ +Deno.test("no-op", function () {}); +Deno.test({ + name: "leak interval", + // regression test for sanitizer errors being swallowed with permissions. + permissions: {}, + fn() { + setInterval(function () {}, 100000); + }, +}); |