Skip to content

Commit b8629ff

Browse files
author
Myles Borins
committedFeb 6, 2016
tools: update tap + mock-fs. Fix broken test
The test suite is currently failing on anything higher than v4 Updating mock-fs fixes this. As tap was quite out of date I have updated that as well. After updating the dependencies a test began failing due to `test.end()` being called more than once. This is fixed
1 parent d4eff0f commit b8629ff

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed
 

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"minimist": "0.0.8"
2020
},
2121
"devDependencies": {
22-
"tap": "1",
23-
"mock-fs": "2 >=2.7.0"
22+
"mock-fs": "^3.7.0",
23+
"tap": "^5.4.2"
2424
},
2525
"bin": "bin/cmd.js",
2626
"license": "MIT"

‎test/perm.js

-1
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,4 @@ test('async root perm', function (t) {
2828
if (err) t.fail(err);
2929
t.end();
3030
});
31-
t.end();
3231
});

0 commit comments

Comments
 (0)
Please sign in to comment.