1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-25 08:39:09 -05:00
denoland-deno/cli/tests/testdata/test/sigint_with_hanging_test.ts

16 lines
297 B
TypeScript
Raw Normal View History

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(() => {});
});
});
},
});