Skip to content

Commit

Permalink
fix: finished test-exclude yak-shave.
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Coe committed Nov 14, 2016
1 parent c3d8975 commit 21a9a70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"rimraf": "^2.5.4",
"signal-exit": "^3.0.1",
"spawn-wrap": "^1.2.4",
"test-exclude": "^3.1.0",
"test-exclude": "^3.2.2",
"yargs": "^6.4.0",
"yargs-parser": "^4.0.2"
},
Expand Down
4 changes: 2 additions & 2 deletions test/src/nyc-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe('nyc', function () {
describe('config', function () {
it("loads 'exclude' patterns from package.json#nyc", function () {
var nyc = new NYC(configUtil.loadConfig([], path.resolve(__dirname, '../fixtures')))
nyc.exclude.exclude.length.should.eql(6)
nyc.exclude.exclude.length.should.eql(8)
})

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

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

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

0 comments on commit 21a9a70

Please sign in to comment.