Skip to content

Commit

Permalink
chore: upgrade the various istanbul libs (#778)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe authored and Benjamin committed Apr 7, 2018
1 parent e9131cb commit e9217a4
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@
"find-up": "^2.1.0",
"foreground-child": "^1.5.3",
"glob": "^7.0.6",
"istanbul-lib-coverage": "^1.1.1",
"istanbul-lib-coverage": "^1.1.2",
"istanbul-lib-hook": "^1.1.0",
"istanbul-lib-instrument": "^1.9.1",
"istanbul-lib-report": "^1.1.2",
"istanbul-lib-source-maps": "^1.2.2",
"istanbul-reports": "^1.1.3",
"istanbul-lib-instrument": "^1.9.2",
"istanbul-lib-report": "^1.1.3",
"istanbul-lib-source-maps": "^1.2.3",
"istanbul-reports": "^1.1.4",
"md5-hex": "^1.2.0",
"merge-source-map": "^1.0.2",
"micromatch": "^2.3.11",
Expand All @@ -97,7 +97,7 @@
"rimraf": "^2.5.4",
"signal-exit": "^3.0.1",
"spawn-wrap": "^1.4.2",
"test-exclude": "^4.1.1",
"test-exclude": "^4.2.0",
"yargs": "^10.0.3",
"yargs-parser": "^8.0.0"
},
Expand Down
38 changes: 19 additions & 19 deletions test/nyc-bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -834,13 +834,13 @@ describe('the nyc cli', function () {
proc.on('close', function (code) {
code.should.equal(0)
stdoutShouldEqual(stdout, `
----------|----------|----------|----------|----------|----------------|
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
----------|----------|----------|----------|----------|----------------|
All files | 44.44 | 100 | 33.33 | 44.44 | |
s1.js | 80 | 100 | 50 | 80 | 7 |
s2.js | 0 | 100 | 0 | 0 | 1,2,4,6 |
----------|----------|----------|----------|----------|----------------|`
----------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files | 44.44 | 100 | 33.33 | 44.44 | |
s1.js | 80 | 100 | 50 | 80 | 7 |
s2.js | 0 | 100 | 0 | 0 | 1,2,4,6 |
----------|----------|----------|----------|----------|-------------------|`
)
done()
})
Expand Down Expand Up @@ -870,12 +870,12 @@ describe('the nyc cli', function () {
proc.on('close', function (code) {
code.should.equal(0)
stdoutShouldEqual(stdout, `
----------|----------|----------|----------|----------|----------------|
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
----------|----------|----------|----------|----------|----------------|
All files | 80 | 100 | 50 | 80 | |
s1.js | 80 | 100 | 50 | 80 | 7 |
----------|----------|----------|----------|----------|----------------|`)
----------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files | 80 | 100 | 50 | 80 | |
s1.js | 80 | 100 | 50 | 80 | 7 |
----------|----------|----------|----------|----------|-------------------|`)
done()
})
})
Expand Down Expand Up @@ -904,12 +904,12 @@ describe('the nyc cli', function () {
proc.on('close', function (code) {
code.should.equal(0)
stdoutShouldEqual(stdout, `
----------|----------|----------|----------|----------|----------------|
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
----------|----------|----------|----------|----------|----------------|
All files | 100 | 100 | 100 | 100 | |
s2.js | 100 | 100 | 100 | 100 | |
----------|----------|----------|----------|----------|----------------|`)
----------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files | 100 | 100 | 100 | 100 | |
s2.js | 100 | 100 | 100 | 100 | |
----------|----------|----------|----------|----------|-------------------|`)
done()
})
})
Expand Down
2 changes: 1 addition & 1 deletion test/src/nyc-tap.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ describe('nyc', function () {

it("ignores 'exclude' option if it's falsy", function () {
var nyc1 = new NYC(configUtil.buildYargs(path.resolve(__dirname, '../fixtures/conf-empty')).parse())
nyc1.exclude.exclude.length.should.eql(11)
nyc1.exclude.exclude.length.should.eql(12)
})

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

0 comments on commit e9217a4

Please sign in to comment.