diff options
author | Gar <gar+gh@danger.computer> | 2021-09-15 21:29:13 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-10-07 19:07:19 +0300 |
commit | a13d9d53ddf3e0f52f4a39fe116653bf40cf99e5 (patch) | |
tree | c281324e40798b6e8e1ed53a9a2d55dd8f87b91a /test/coverage-map.js | |
parent | 32e163fd10aace69d927dae46d04d64c04e5014b (diff) |
feat: drop node 10, 11, and programmatic api
BREAKING CHANGE:
- Drop official support for node versions less than v12.
- Drop support for `require('npm')`
- Update a few subdependencies that dropped node10 support, and brought
in the latest node-gyp
PR-URL: https://github.com/npm/cli/pull/3762
Credit: @wraithgar
Close: #3762
Reviewed-by: @fritzy
Diffstat (limited to 'test/coverage-map.js')
-rw-r--r-- | test/coverage-map.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/coverage-map.js b/test/coverage-map.js index 63f2a608e..aff7a6527 100644 --- a/test/coverage-map.js +++ b/test/coverage-map.js @@ -11,7 +11,7 @@ const coverageMap = (filename) => { // this one doesn't provide any coverage nyc can track return [] } - if (/^test\/(lib|bin)\//.test(filename)) + if (/^test\/(lib\/|bin\/|index\.js$)/.test(filename)) return filename.replace(/^test\//, '') return [] } |