From b8629ffd27c7f3fa8a6fc28b60206ab1d0cb081e Mon Sep 17 00:00:00 2001 From: Myles Borins Date: Fri, 5 Feb 2016 16:39:56 -0800 Subject: [PATCH] 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 --- package.json | 4 ++-- test/perm.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 863e860..0a1af96 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ "minimist": "0.0.8" }, "devDependencies": { - "tap": "1", - "mock-fs": "2 >=2.7.0" + "mock-fs": "^3.7.0", + "tap": "^5.4.2" }, "bin": "bin/cmd.js", "license": "MIT" diff --git a/test/perm.js b/test/perm.js index fbce44b..843a1ca 100644 --- a/test/perm.js +++ b/test/perm.js @@ -28,5 +28,4 @@ test('async root perm', function (t) { if (err) t.fail(err); t.end(); }); - t.end(); });