summaryrefslogtreecommitdiff
path: root/tests/testdata/test/sigint_with_hanging_test.ts
blob: 07b126e9822a6b33ff8dd4ecfe013cef262c9081 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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(() => {});
      });
    });
  },
});