1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
metamask-extension/nyc.config.js
ryanml 4ee93f2594
Fixing yarn version command, adding yarn version plugin (#17325)
* Removing invalid flags for yarn version command

* Adding yarn version plugin

* remove .yarn from coverage

---------

Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-02-01 17:05:52 -07:00

18 lines
509 B
JavaScript

// nyc is our coverage reporter for mocha, and currently is collecting
// coverage for .yarn folder. all of these are default excludes except the
// .yarn/** entry. This entire file should be removable once we complete the
// migration from mocha to jest in the app folder.
module.exports = {
exclude: [
'coverage/**',
'packages/*/test/**',
'test/**',
'test{,-*}.js',
'**/*{.,-}test.js',
'**/__tests__/**',
'**/node_modules/**',
'**/babel.config.js',
'.yarn/**',
],
};