Skip to content

Commit 41f9682

Browse files
committed
force: true on rm dir for windows complaining ENOTEMPTY
1 parent fae07e1 commit 41f9682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/mocks/directory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ export function mockIsolatedDirectory({git}: {git: boolean}) {
2424

2525
afterEach(async () => {
2626
process.chdir(cwd);
27-
await rm(dir, {recursive: true});
27+
await rm(dir, {recursive: true, force: true});
2828
});
2929
}

0 commit comments

Comments
 (0)