Debug
This commit is contained in:
parent
4ea05a1de2
commit
c2571cb40d
3 changed files with 6 additions and 5 deletions
|
@ -21,8 +21,8 @@ testing:
|
|||
script:
|
||||
- yarn install
|
||||
- ./node_modules/.bin/sequelize db:migrate
|
||||
- yarn test --ci --collectCoverage=true
|
||||
coverage: /All files\s*\|\s*([\d\.]+)/
|
||||
- yarn test --ci --collectCoverage=true --coverage
|
||||
coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/
|
||||
artifacts:
|
||||
paths:
|
||||
- junit.xml
|
||||
|
|
|
@ -11,7 +11,7 @@ services:
|
|||
./node_modules/.bin/sequelize db:migrate:undo:all &&
|
||||
./node_modules/.bin/sequelize db:migrate &&
|
||||
./node_modules/.bin/sequelize db:seed:all &&
|
||||
yarn test --ci --collectCoverage=true"
|
||||
yarn test --ci --coverage"
|
||||
volumes:
|
||||
- ./:/home/node/app
|
||||
- /home/node/node_modules
|
||||
|
|
|
@ -47,10 +47,11 @@
|
|||
"setupFilesAfterEnv": [
|
||||
"<rootDir>/test/utils/setup.js"
|
||||
],
|
||||
"collectCoverage": true,
|
||||
"coverageReporters": [
|
||||
"text",
|
||||
"html",
|
||||
"cobertura",
|
||||
"jest-junit"
|
||||
"cobertura"
|
||||
],
|
||||
"reporters": [
|
||||
"default",
|
||||
|
|
Loading…
Reference in a new issue