summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/dom_exception_formatting.ts
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2021-09-06 21:59:20 +0100
committerGitHub <noreply@github.com>2021-09-06 22:59:20 +0200
commitd331c4b283cf52614c519b1e9a3883e46dc25aab (patch)
tree0eb4546b57d14a9ba5efaed81f4dec0e4f7118d6 /cli/tests/testdata/dom_exception_formatting.ts
parent2c77681770dd8d0433ddbcb6f5a3329e235a664e (diff)
fix(ext/web): Format terminal DOMExceptions properly (#11834)
Diffstat (limited to 'cli/tests/testdata/dom_exception_formatting.ts')
-rw-r--r--cli/tests/testdata/dom_exception_formatting.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tests/testdata/dom_exception_formatting.ts b/cli/tests/testdata/dom_exception_formatting.ts
new file mode 100644
index 000000000..0209ec81e
--- /dev/null
+++ b/cli/tests/testdata/dom_exception_formatting.ts
@@ -0,0 +1 @@
+throw new DOMException("foo", "SyntaxError");