2023-01-11 19:23:38 +01:00
|
|
|
// 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: {
|
2023-02-01 23:34:55 +01:00
|
|
|
branches: 22,
|
|
|
|
functions: 33.5,
|
|
|
|
lines: 62.25,
|
|
|
|
statements: 41.75,
|
2023-01-11 19:23:38 +01:00
|
|
|
},
|
|
|
|
transforms: {
|
|
|
|
branches: 100,
|
|
|
|
functions: 100,
|
|
|
|
lines: 100,
|
|
|
|
statements: 100,
|
|
|
|
},
|
|
|
|
};
|