1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-11 01:58:05 -05:00
denoland-deno/cli/tests/testdata/test/sigint_with_hanging_test.ts
2023-03-31 11:43:18 -06:00

15 lines
297 B
TypeScript

setInterval(() => {}, 10000);
Deno.test({
name: "test",
sanitizeOps: false,
sanitizeExit: false,
sanitizeResources: false,
async fn(t) {
await t.step("step 1", async (t) => {
await t.step("step 2", async () => {
await new Promise(() => {});
});
});
},
});