Skip to content

Commit 21a9a70

Browse files
author
Benjamin Coe
committed
fix: finished test-exclude yak-shave.
1 parent c3d8975 commit 21a9a70

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"rimraf": "^2.5.4",
9696
"signal-exit": "^3.0.1",
9797
"spawn-wrap": "^1.2.4",
98-
"test-exclude": "^3.1.0",
98+
"test-exclude": "^3.2.2",
9999
"yargs": "^6.4.0",
100100
"yargs-parser": "^4.0.2"
101101
},

test/src/nyc-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ describe('nyc', function () {
6666
describe('config', function () {
6767
it("loads 'exclude' patterns from package.json#nyc", function () {
6868
var nyc = new NYC(configUtil.loadConfig([], path.resolve(__dirname, '../fixtures')))
69-
nyc.exclude.exclude.length.should.eql(6)
69+
nyc.exclude.exclude.length.should.eql(8)
7070
})
7171

7272
it("loads 'extension' patterns from package.json#nyc", function () {
@@ -91,7 +91,7 @@ describe('nyc', function () {
9191

9292
it("ignores 'exclude' option if it's falsy", function () {
9393
var nyc1 = new NYC(configUtil.loadConfig([], path.resolve(__dirname, '../fixtures/conf-empty')))
94-
nyc1.exclude.exclude.length.should.eql(8)
94+
nyc1.exclude.exclude.length.should.eql(10)
9595
})
9696

9797
it("allows for empty 'exclude'", function () {

0 commit comments

Comments
 (0)