mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04:00
24 lines
317 B
TypeScript
24 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] };
|
||
|
});
|