We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f4536d commit a6a6a80Copy full SHA for a6a6a80
1 file changed
test/main.js
@@ -60,6 +60,8 @@ const forceRemoveSync = (targetPath) => {
60
fs.rmSync(targetPath, { recursive: true, force: true })
61
return
62
}
63
+ // fs-extra's removeSync always removes recursively and handles non-existent paths gracefully,
64
+ // so no options are needed here. This is functionally equivalent to the rmSync call above.
65
fs.removeSync(targetPath)
66
67
@@ -148,7 +150,7 @@ const _awsRestore = () => {
148
150
describe('lib/main', function () {
149
151
if (['win32', 'darwin'].includes(process.platform)) {
152
// It seems that it takes time for file operation in Windows and Mac.
- // So set `timeout(180000)` for the whole test.
153
+ // So set timeout(180000) (sec: 180) for the whole test.
154
this.timeout(180000)
155
156
0 commit comments