mirror of
https://github.com/denoland/deno.git
synced 2025-02-21 12:53:05 -05:00

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.
9 lines
176 B
TypeScript
9 lines
176 B
TypeScript
Deno.test("foo 1", () => {
|
|
throw new Error("foo 1 message");
|
|
});
|
|
|
|
Deno.test("foo 2", () => {});
|
|
|
|
Deno.test("foo 3", () => {
|
|
Promise.reject(new Error("foo 3 message"));
|
|
});
|