From c3d897543145827ae04b3f1ca5f31be8534961f7 Mon Sep 17 00:00:00 2001 From: Benjamin Coe Date: Mon, 14 Nov 2016 12:42:26 -0800 Subject: [PATCH] fix: and another broken test --- test/src/nyc-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/src/nyc-test.js b/test/src/nyc-test.js index 1bb70dbac..6c200c0ea 100644 --- a/test/src/nyc-test.js +++ b/test/src/nyc-test.js @@ -97,8 +97,8 @@ describe('nyc', function () { it("allows for empty 'exclude'", function () { var nyc2 = new NYC({exclude: []}) - // an empty exclude still has !**/node_modules/** added. - nyc2.exclude.exclude.length.should.eql(1) + // an empty exclude still has **/node_modules/**, node_modules/** and added. + nyc2.exclude.exclude.length.should.eql(2) }) })