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-03-29 19:44:04 +02:00
|
|
|
lines: 65.5,
|
2023-03-15 15:38:34 +01:00
|
|
|
branches: 53.5,
|
2023-03-29 19:44:04 +02:00
|
|
|
statements: 64.75,
|
|
|
|
functions: 58,
|
2023-01-11 19:23:38 +01:00
|
|
|
},
|
|
|
|
transforms: {
|
|
|
|
branches: 100,
|
|
|
|
functions: 100,
|
|
|
|
lines: 100,
|
|
|
|
statements: 100,
|
|
|
|
},
|
|
|
|
};
|