Skip to content

Commit e12f214

Browse files
committed
test: do not remove cwd
1 parent 599d8ad commit e12f214

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.tests/utils.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,7 @@ export const testTemplate = (template: string) =>
6262
await use(cwd);
6363

6464
const testPassed = testInfo.errors.length === 0;
65-
if (!testPassed) {
66-
console.log("cwd: ", cwd);
67-
return;
68-
}
69-
fs.rmSync(cwd, { recursive: true });
65+
if (!testPassed) console.log("cwd: ", cwd);
7066
},
7167
edit: async ({ cwd }, use) => {
7268
await use(async (file, transform) => {

0 commit comments

Comments
 (0)