Skip to content

Commit

Permalink
test: fix rm fail (#7526)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Mar 30, 2022
1 parent 523bbd5 commit 05cb194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/jestGlobalTeardown.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ const path = require('path')
module.exports = async () => {
await global.__BROWSER_SERVER__.close()
if (!process.env.VITE_PRESERVE_BUILD_ARTIFACTS) {
await fs.remove(path.resolve(__dirname, '../packages/temp'))
fs.removeSync(path.resolve(__dirname, '../packages/temp'))
}
}

0 comments on commit 05cb194

Please sign in to comment.