summaryrefslogtreecommitdiff
path: root/tests/specs/test/steps_output_within/output_within.ts
blob: d3438a8ad92552f5a472ed13c7b191f191608732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Deno.test("description", async (t) => {
  // the output is not great, but this is an extreme scenario
  console.log(1);
  await t.step("step 1", async (t) => {
    console.log(2);
    await t.step("inner 1", () => {
      console.log(3);
    });
    await t.step("inner 2", () => {
      console.log(4);
    });
    console.log(5);
  });
  console.log(6);
});