fix: correction des TU jest
All checks were successful
Build Docker Image Front / run (push) Successful in 24s
Build Docker Image Back / run (push) Successful in 21s
Build Docker Image Front / run (pull_request) Successful in 21s
Build Docker Image Back / run (pull_request) Successful in 20s
Test and coverage / coverage (pull_request) Successful in 39s

Reviewed-on: #8
Co-authored-by: Clement <c.boesmier@aptatio.com>
Co-committed-by: Clement <c.boesmier@aptatio.com>
This commit is contained in:
Clement 2024-05-04 19:32:33 +02:00 committed by Clement
parent 5df15bc219
commit c6b509355f
2 changed files with 11 additions and 4 deletions

View File

@ -1,8 +1,8 @@
name: 'coverage'
name: Test and coverage
on:
pull_request:
branches:
- master
- '*'
jobs:
coverage:
runs-on: ubuntu-latest
@ -14,4 +14,6 @@ jobs:
test-script: npm run test
output: comment, report-markdown
prnumber: ${{ steps.findPr.outputs.number }}
custom-title: Coverage report for backend
custom-title: Coverage report for backend
github-token: ${{ secrets.PR_TOCKEN}}
annotations: none #disable annotation

View File

@ -11,4 +11,9 @@ module.exports = {
'!/coverage/',
'!**/server.ts',
],
};
coverageThreshold: {
global: {
lines: 80,
},
},
};