mirror of
https://github.com/denoland/deno.git
synced 2024-12-26 17:19:06 -05:00
23efc4fcab
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"));
|
|
});
|