mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
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>
This commit is contained in:
parent
26aa9f3ecb
commit
0989678f03
@ -6,10 +6,10 @@
|
|||||||
// subset of files to check against these targets.
|
// subset of files to check against these targets.
|
||||||
module.exports = {
|
module.exports = {
|
||||||
global: {
|
global: {
|
||||||
branches: 20,
|
branches: 50,
|
||||||
functions: 30,
|
functions: 55,
|
||||||
lines: 57,
|
lines: 62.25,
|
||||||
statements: 40,
|
statements: 61.5,
|
||||||
},
|
},
|
||||||
transforms: {
|
transforms: {
|
||||||
branches: 100,
|
branches: 100,
|
||||||
|
17
nyc.config.js
Normal file
17
nyc.config.js
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
// 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/**',
|
||||||
|
],
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user