Skip to content

Commit

Permalink
Change node coverage thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
mbklein committed Dec 19, 2024
1 parent 39823de commit abb1eb2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions node/nyc.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ const defaultExclude = require('@istanbuljs/schema/default-exclude');
const localExclude = [".aws-sam/**/*", "docs/**/*"];
module.exports = {
all: true,
branches: 80,
lines: 80,
functions: 80,
statements: 80,
watermarks: {
lines: [80, 90],
functions: [80, 90],
branches: [80, 90],
statements: [80, 90]
},
"check-coverage": true,
exclude: defaultExclude.concat(localExclude)
};

0 comments on commit abb1eb2

Please sign in to comment.