Skip to content

Commit 4858f1a

Browse files
authored
test: fix rm fail (#7526)
1 parent 4324f48 commit 4858f1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/jestGlobalTeardown.cjs

Lines changed: 1 addition & 1 deletion
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)