summaryrefslogtreecommitdiff
path: root/cli/tests/unit/dispatch_json_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit/dispatch_json_test.ts')
-rw-r--r--cli/tests/unit/dispatch_json_test.ts20
1 files changed, 0 insertions, 20 deletions
diff --git a/cli/tests/unit/dispatch_json_test.ts b/cli/tests/unit/dispatch_json_test.ts
index 076c9e6f8..29127a85c 100644
--- a/cli/tests/unit/dispatch_json_test.ts
+++ b/cli/tests/unit/dispatch_json_test.ts
@@ -2,28 +2,8 @@ import {
assertStrictEquals,
unitTest,
assertMatch,
- unreachable,
} from "./test_util.ts";
-const openErrorStackPattern = new RegExp(
- `^.*
- at unwrapResponse \\(.*dispatch_json\\.js:.*\\)
- at sendAsync \\(.*dispatch_json\\.js:.*\\)
- at async Object\\.open \\(.*files\\.js:.*\\).*$`,
- "ms",
-);
-
-unitTest(
- { perms: { read: true } },
- async function sendAsyncStackTrace(): Promise<void> {
- await Deno.open("nonexistent.txt")
- .then(unreachable)
- .catch((error): void => {
- assertMatch(error.stack, openErrorStackPattern);
- });
- },
-);
-
declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace Deno {