summaryrefslogtreecommitdiff
path: root/tests/specs/test/steps_output_within/output_within.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/test/steps_output_within/output_within.ts')
-rw-r--r--tests/specs/test/steps_output_within/output_within.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/specs/test/steps_output_within/output_within.ts b/tests/specs/test/steps_output_within/output_within.ts
new file mode 100644
index 000000000..d3438a8ad
--- /dev/null
+++ b/tests/specs/test/steps_output_within/output_within.ts
@@ -0,0 +1,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);
+});