diff options
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r-- | cli/tests/testdata/nested_error.ts | 3 | ||||
-rw-r--r-- | cli/tests/testdata/nested_error.ts.out | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/testdata/nested_error.ts b/cli/tests/testdata/nested_error.ts new file mode 100644 index 000000000..69828e1ca --- /dev/null +++ b/cli/tests/testdata/nested_error.ts @@ -0,0 +1,3 @@ +throw { + foo: new Error(), +}; diff --git a/cli/tests/testdata/nested_error.ts.out b/cli/tests/testdata/nested_error.ts.out new file mode 100644 index 000000000..042a179ff --- /dev/null +++ b/cli/tests/testdata/nested_error.ts.out @@ -0,0 +1,4 @@ +error: Uncaught { + foo: Error + at file:///[WILDCARD]testdata/nested_error.ts:2:8 +} |