run tests in band

This commit is contained in:
Ulf Gebhardt 2021-11-04 00:10:37 +01:00
parent 153264b1ef
commit 9aecae227f
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 2 additions and 2 deletions

View File

@ -381,7 +381,7 @@ jobs:
# UNIT TESTS BACKEND #####################################################
##########################################################################
- name: backend | docker-compose
run: docker-compose -f docker-compose.yml -f docker-compose.test.yml up --detach --no-deps mariadb database
run: docker-compose -f docker-compose.yml -f docker-compose.test.yml up --detach --no-deps mariadb database backend
- name: backend Unit tests | test
run: docker-compose -f docker-compose.yml -f docker-compose.test.yml exec -T backend yarn test
##########################################################################

View File

@ -13,7 +13,7 @@
"start": "node build/index.js",
"dev": "nodemon -w src --ext ts --exec ts-node src/index.ts",
"lint": "eslint . --ext .js,.ts",
"test": "jest --coverage"
"test": "jest --coverage --runInBand"
},
"dependencies": {
"@types/jest": "^27.0.2",