blob: 128e48aef788b980bb331cf8bcc3c5dde2a50f08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
Deno.test("parent 1", async (t) => {
await t.step("child 1", () => {});
await t.step("child 2", () => {
throw new Error("Fail.");
});
});
Deno.test("parent 2", async (t) => {
await t.step("child 1", async (t) => {
await t.step("grandchild 1", () => {});
await t.step("grandchild 2", () => {
throw new Error("Fail.");
});
});
await t.step("child 2", () => {
throw new Error("Fail.");
});
});
Deno.test("parent 3", async (t) => {
await t.step("child 1", () => {});
await t.step("child 2", () => {});
});
|