Skip to content

Commit

Permalink
Development: Improve client test quality for course component
Browse files Browse the repository at this point in the history
  • Loading branch information
krusche committed Dec 8, 2021
1 parent 8722151 commit 516281a
Show file tree
Hide file tree
Showing 6 changed files with 664 additions and 632 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jacocoTestCoverageVerification {
counter = "INSTRUCTION"
value = "COVEREDRATIO"
// TODO: in the future the following value should become at least 0.90
minimum = 0.892
minimum = 0.893
}
limit {
counter = "CLASS"
Expand Down
8 changes: 4 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ module.exports = {
coverageThreshold: {
global: {
// TODO: in the future, the following values should be increase to at least 80%
statements: 77.1,
branches: 65.4,
functions: 68.7,
lines: 76.7,
statements: 77.2,
branches: 65.5,
functions: 68.8,
lines: 76.8,
},
},
setupFilesAfterEnv: ['<rootDir>/src/test/javascript/spec/jest-test-setup.ts', 'jest-sinon', 'jest-extended/all'],
Expand Down
Loading

0 comments on commit 516281a

Please sign in to comment.