diff options
Diffstat (limited to 'cli/tests/testdata')
| -rw-r--r-- | cli/tests/testdata/fetch_async_error_stack.ts | 1 | ||||
| -rw-r--r-- | cli/tests/testdata/fetch_async_error_stack.ts.out | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/testdata/fetch_async_error_stack.ts b/cli/tests/testdata/fetch_async_error_stack.ts new file mode 100644 index 000000000..f583192c2 --- /dev/null +++ b/cli/tests/testdata/fetch_async_error_stack.ts @@ -0,0 +1 @@ +await fetch("https://nonexistent.deno.land/"); diff --git a/cli/tests/testdata/fetch_async_error_stack.ts.out b/cli/tests/testdata/fetch_async_error_stack.ts.out new file mode 100644 index 000000000..0a7b353e2 --- /dev/null +++ b/cli/tests/testdata/fetch_async_error_stack.ts.out @@ -0,0 +1,5 @@ +error: Uncaught (in promise) TypeError: error sending request for url[WILDCARD] +await fetch("https://nonexistent.deno.land/"); +^[WILDCARD] + at async fetch (deno:[WILDCARD]) + at async file:///[WILDCARD]/fetch_async_error_stack.ts:1:1 |
