Skip to content

Commit

Permalink
test: migrate from nyc to c8 for coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
webketje committed May 28, 2023
1 parent 2ef473b commit 17e421b
Show file tree
Hide file tree
Showing 5 changed files with 272 additions and 2,298 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
node_modules
test/fixtures/*/build
coverage.info
.nyc_output/
coverage/
.vscode/
.idea/
.DS_Store
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test/fixtures/**
.nyc_output/**
coverage/**
package-lock.json
2 changes: 2 additions & 0 deletions lib/watcher.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* c8 ignore start */
const chokidar = require('chokidar')
// to be replaced in distant future by native structuredClone when dropping Node <17 support
const cloneDeepWith = require('lodash.clonedeepwith')
Expand Down Expand Up @@ -147,3 +148,4 @@ module.exports = function watchable(files, metalsmith) {
})
}
}
/* c8 ignore end */

0 comments on commit 17e421b

Please sign in to comment.