mirror of
https://github.com/denoland/deno.git
synced 2024-12-28 10:09:20 -05:00
e0b9c745c1
This PR is part of #22907 --------- Signed-off-by: HasanAlrimawi <141642411+HasanAlrimawi@users.noreply.github.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
23 lines
548 B
TypeScript
23 lines
548 B
TypeScript
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", () => {});
|
|
});
|