1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00
denoland-deno/cli/tests/testdata/test/uncaught_errors_2.ts
Nayeem Rahman 23efc4fcab
feat(test): Represent uncaught errors (#14513)
This commit adds better reporting of uncaught errors
in top level scope of testing files. This change affects
both console runner as well as LSP runner.
2022-05-09 11:44:50 +02:00

8 lines
157 B
TypeScript

Deno.test("bar 1", () => {});
Deno.test("bar 2", () => {
throw new Error("bar 2");
});
Deno.test("bar 3", () => {
throw new Error("bar 3 message");
});