1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-29 10:39:10 -05:00
denoland-deno/cli/tests/delayed_error.ts
2021-02-19 09:36:02 +11:00

2 lines
70 B
TypeScript

await new Promise((r) => setTimeout(r, 100));
throw new Error("foo");