Skip to content

Commit

Permalink
Merge pull request #51 from dwyl/replace-deprecated-dep-istanbul
Browse files Browse the repository at this point in the history
chore: migrate deprecated `istanbul` to `nyc`
  • Loading branch information
nelsonic committed Jan 19, 2022
2 parents 0081cba + 5967c2c commit 10081e4
Show file tree
Hide file tree
Showing 5 changed files with 5,879 additions and 231 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ pids
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
# Files generated by tools like istanbul/nyc
coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
Expand Down
14 changes: 14 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"all": true,
"include": ["*.js"],
"reporter": [
"text-summary",
"html"
],
"instrument": true,
"check-coverage": true,
"branches": 100,
"lines": 100,
"functions": 100,
"statements": 100
}
3 changes: 1 addition & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ test_script:
- npm --version
# run tests
- npm test
- node_modules/.bin/istanbul check-coverage --statements 80 --functions 100 --lines 80 --branches 80
- node_modules/.bin/nyc check-coverage

# Don't actually build.
build: off

0 comments on commit 10081e4

Please sign in to comment.