1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 03:12:42 +02:00
metamask-extension/coverage-targets.js
legobeat ef01dc1391
Unbreak CI checks (#18813)
* Fix builds from forks
* bump coverage targets

---------

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2023-04-26 20:14:33 +09:00

21 lines
649 B
JavaScript

// Codecov uses a yaml file for its configuration and it targets line coverage.
// To keep our policy in place we have thile file separate from our
// codecov.yml file that specifies coverage targets for each project in the
// codecov.yml file. These targets are read by the test/merge-coverage.js
// script, and the paths from the codecov.yml file are used to figure out which
// subset of files to check against these targets.
module.exports = {
global: {
lines: 69.92,
branches: 57.63,
statements: 69.24,
functions: 62.51,
},
transforms: {
branches: 100,
functions: 100,
lines: 100,
statements: 100,
},
};