Skip to content

Commit bf26ea1

Browse files
test: fix
1 parent 0477f37 commit bf26ea1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/TestCases.test.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ function clearDirectory(dirPath) {
3131
}
3232
}
3333

34-
fs.rmdirSync(dirPath);
34+
try {
35+
fs.rmdirSync(dirPath);
36+
} catch (_err) {
37+
// Nothing
38+
}
3539
}
3640

3741
function compareDirectory(actual, expected) {

0 commit comments

Comments
 (0)