Skip to content

Commit

Permalink
Increase schema coverage thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
matz3 committed Apr 29, 2020
1 parent ca974da commit a895277
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ test.before((t) => {
test.after.always((t) => {
t.context.ajvCoverage.createReport("html", {dir: "coverage/ajv-extension-project-shim"});
const thresholds = {
statements: 70,
branches: 55,
statements: 75,
branches: 60,
functions: 100,
lines: 65
lines: 70
};
t.context.ajvCoverage.verify(thresholds);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ test.before((t) => {
test.after.always((t) => {
t.context.ajvCoverage.createReport("html", {dir: "coverage/ajv-extension-server-middleware"});
const thresholds = {
statements: 60,
branches: 50,
statements: 70,
branches: 55,
functions: 100,
lines: 60
lines: 70
};
t.context.ajvCoverage.verify(thresholds);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ test.before((t) => {
test.after.always((t) => {
t.context.ajvCoverage.createReport("html", {dir: "coverage/ajv-extension-task"});
const thresholds = {
statements: 60,
branches: 50,
statements: 70,
branches: 55,
functions: 100,
lines: 60
lines: 70
};
t.context.ajvCoverage.verify(thresholds);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ test.before((t) => {
test.after.always((t) => {
t.context.ajvCoverage.createReport("html", {dir: "coverage/ajv-project-module"});
const thresholds = {
statements: 65,
branches: 55,
statements: 75,
branches: 65,
functions: 100,
lines: 65
lines: 75
};
t.context.ajvCoverage.verify(thresholds);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ test.after.always((t) => {
t.context.ajvCoverage.createReport("html", {dir: "coverage/ajv-project-theme-library"});
const thresholds = {
statements: 75,
branches: 65,
branches: 70,
functions: 100,
lines: 75
};
Expand Down

0 comments on commit a895277

Please sign in to comment.