Skip to content

Commit 05cb194

Browse files
authored
test: fix rm fail (#7526)
1 parent 523bbd5 commit 05cb194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: scripts/jestGlobalTeardown.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ const path = require('path')
44
module.exports = async () => {
55
await global.__BROWSER_SERVER__.close()
66
if (!process.env.VITE_PRESERVE_BUILD_ARTIFACTS) {
7-
await fs.remove(path.resolve(__dirname, '../packages/temp'))
7+
fs.removeSync(path.resolve(__dirname, '../packages/temp'))
88
}
99
}

0 commit comments

Comments
 (0)