Skip to content

Commit e9217a4

Browse files
bcoeBenjamin
authored and
Benjamin
committed
chore: upgrade the various istanbul libs (#778)
1 parent e9131cb commit e9217a4

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@
8383
"find-up": "^2.1.0",
8484
"foreground-child": "^1.5.3",
8585
"glob": "^7.0.6",
86-
"istanbul-lib-coverage": "^1.1.1",
86+
"istanbul-lib-coverage": "^1.1.2",
8787
"istanbul-lib-hook": "^1.1.0",
88-
"istanbul-lib-instrument": "^1.9.1",
89-
"istanbul-lib-report": "^1.1.2",
90-
"istanbul-lib-source-maps": "^1.2.2",
91-
"istanbul-reports": "^1.1.3",
88+
"istanbul-lib-instrument": "^1.9.2",
89+
"istanbul-lib-report": "^1.1.3",
90+
"istanbul-lib-source-maps": "^1.2.3",
91+
"istanbul-reports": "^1.1.4",
9292
"md5-hex": "^1.2.0",
9393
"merge-source-map": "^1.0.2",
9494
"micromatch": "^2.3.11",
@@ -97,7 +97,7 @@
9797
"rimraf": "^2.5.4",
9898
"signal-exit": "^3.0.1",
9999
"spawn-wrap": "^1.4.2",
100-
"test-exclude": "^4.1.1",
100+
"test-exclude": "^4.2.0",
101101
"yargs": "^10.0.3",
102102
"yargs-parser": "^8.0.0"
103103
},

test/nyc-bin.js

+19-19
Original file line numberDiff line numberDiff line change
@@ -834,13 +834,13 @@ describe('the nyc cli', function () {
834834
proc.on('close', function (code) {
835835
code.should.equal(0)
836836
stdoutShouldEqual(stdout, `
837-
----------|----------|----------|----------|----------|----------------|
838-
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
839-
----------|----------|----------|----------|----------|----------------|
840-
All files | 44.44 | 100 | 33.33 | 44.44 | |
841-
s1.js | 80 | 100 | 50 | 80 | 7 |
842-
s2.js | 0 | 100 | 0 | 0 | 1,2,4,6 |
843-
----------|----------|----------|----------|----------|----------------|`
837+
----------|----------|----------|----------|----------|-------------------|
838+
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
839+
----------|----------|----------|----------|----------|-------------------|
840+
All files | 44.44 | 100 | 33.33 | 44.44 | |
841+
s1.js | 80 | 100 | 50 | 80 | 7 |
842+
s2.js | 0 | 100 | 0 | 0 | 1,2,4,6 |
843+
----------|----------|----------|----------|----------|-------------------|`
844844
)
845845
done()
846846
})
@@ -870,12 +870,12 @@ describe('the nyc cli', function () {
870870
proc.on('close', function (code) {
871871
code.should.equal(0)
872872
stdoutShouldEqual(stdout, `
873-
----------|----------|----------|----------|----------|----------------|
874-
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
875-
----------|----------|----------|----------|----------|----------------|
876-
All files | 80 | 100 | 50 | 80 | |
877-
s1.js | 80 | 100 | 50 | 80 | 7 |
878-
----------|----------|----------|----------|----------|----------------|`)
873+
----------|----------|----------|----------|----------|-------------------|
874+
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
875+
----------|----------|----------|----------|----------|-------------------|
876+
All files | 80 | 100 | 50 | 80 | |
877+
s1.js | 80 | 100 | 50 | 80 | 7 |
878+
----------|----------|----------|----------|----------|-------------------|`)
879879
done()
880880
})
881881
})
@@ -904,12 +904,12 @@ describe('the nyc cli', function () {
904904
proc.on('close', function (code) {
905905
code.should.equal(0)
906906
stdoutShouldEqual(stdout, `
907-
----------|----------|----------|----------|----------|----------------|
908-
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
909-
----------|----------|----------|----------|----------|----------------|
910-
All files | 100 | 100 | 100 | 100 | |
911-
s2.js | 100 | 100 | 100 | 100 | |
912-
----------|----------|----------|----------|----------|----------------|`)
907+
----------|----------|----------|----------|----------|-------------------|
908+
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
909+
----------|----------|----------|----------|----------|-------------------|
910+
All files | 100 | 100 | 100 | 100 | |
911+
s2.js | 100 | 100 | 100 | 100 | |
912+
----------|----------|----------|----------|----------|-------------------|`)
913913
done()
914914
})
915915
})

test/src/nyc-tap.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ describe('nyc', function () {
9393

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

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

0 commit comments

Comments
 (0)