diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 9972b60..e58a67f 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -14,7 +14,7 @@ What code changes have been made to achieve the intent. No PR (that involves a non-trivial code change) should be merged, unless all items below are confirmed! If an urgent fix is needed - use a tar file. - +- [ ] Unit tests coverage has been increased and a new threshold is set. - [ ] All `sasjs-cli` unit tests are passing (`npm test`). - (CI Runs this) All `sasjs-tests` are passing. If you want to run it manually (instructions available [here](https://github.com/sasjs/adapter/blob/master/sasjs-tests/README.md)). - [ ] [Data Controller](https://datacontroller.io) builds and is functional on both SAS 9 and Viya diff --git a/jest.config.js b/jest.config.js index 6a81100..47bd7db 100644 --- a/jest.config.js +++ b/jest.config.js @@ -41,7 +41,14 @@ module.exports = { // ], // An object that configures minimum threshold enforcement for coverage results - // coverageThreshold: undefined, + coverageThreshold: { + global: { + statements: 63.66, + branches: 44.74, + functions: 53.94, + lines: 64.12 + } + }, // A path to a custom dependency extractor // dependencyExtractor: undefined,