1
0
mirror of https://github.com/fuse-friends/fuse-native synced 2026-03-02 03:40:15 +00:00

try to fix flaky tests on ancient osx

This commit is contained in:
Mathias Buus
2019-12-17 11:48:22 +01:00
parent 3d9dd1945e
commit 6ce141d308
6 changed files with 24 additions and 14 deletions

6
test/helpers/index.js Normal file
View File

@@ -0,0 +1,6 @@
exports.unmount = function (fuse, cb) { // This only seems to be nessesary an the ancient osx we use on travis so ... yolo
fuse.unmount(function (err) {
if (err) return cb(err)
setTimeout(cb, 1000)
})
}