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

This PR is part of #22907 --------- Signed-off-by: HasanAlrimawi <141642411+HasanAlrimawi@users.noreply.github.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
23 lines
317 B
TypeScript
23 lines
317 B
TypeScript
Deno.test("foo", () => {
|
|
throw undefined;
|
|
});
|
|
|
|
Deno.test("bar", () => {
|
|
throw null;
|
|
});
|
|
|
|
Deno.test("baz", () => {
|
|
throw 123;
|
|
});
|
|
|
|
Deno.test("qux", () => {
|
|
throw "Hello, world!";
|
|
});
|
|
|
|
Deno.test("quux", () => {
|
|
throw [1, 2, 3];
|
|
});
|
|
|
|
Deno.test("quuz", () => {
|
|
throw { a: "Hello, world!", b: [1, 2, 3] };
|
|
});
|