diff options
Diffstat (limited to 'cli/tests/testdata/node/test.js')
-rw-r--r-- | cli/tests/testdata/node/test.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/testdata/node/test.js b/cli/tests/testdata/node/test.js index 9bb5aa885..0f0f9b6b6 100644 --- a/cli/tests/testdata/node/test.js +++ b/cli/tests/testdata/node/test.js @@ -54,6 +54,13 @@ test("async throw fail", async () => { throw new Error("thrown from async throw fail"); }); +test("nested test", async (t) => { + await t.test("nested 1", async (t) => { + await t.test("nested 2", () => { + }); + }); +}); + test("async skip fail", async (t) => { t.skip(); throw new Error("thrown from async throw fail"); |