diff --git a/src/bin.test.ts b/src/bin.test.ts index a2b6777..c4bf759 100644 --- a/src/bin.test.ts +++ b/src/bin.test.ts @@ -53,7 +53,9 @@ beforeEach(async () => { }); afterEach(async () => { - await rm(dir, { recursive: true }); + await rm(dir, { recursive: true }).catch((error: unknown) => { + console.error(error); + }); }); test("correct", async () => { diff --git a/src/create-project.test.ts b/src/create-project.test.ts index 3da3db4..4447dbf 100644 --- a/src/create-project.test.ts +++ b/src/create-project.test.ts @@ -15,7 +15,9 @@ beforeEach(async () => { }); afterEach(async () => { - await rm(dir, { recursive: true }); + await rm(dir, { recursive: true }).catch((error: unknown) => { + console.error(error); + }); }); test("correct", async () => {