chore: improve test speed

This commit is contained in:
Koen Kanters
2024-05-08 23:09:23 +02:00
parent aecdfe638b
commit 58d37b0f92
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ jobs:
- name: Build
run: npm run build
- name: Test
run: npm run test-with-coverage
run: npm run test-with-coverage:ci
- name: Lint
run: npm run eslint
- name: Docker login
+4 -3
View File
@@ -24,9 +24,10 @@
"build-watch": "tsc --watch",
"eslint": "eslint lib/ --max-warnings=0",
"start": "node index.js",
"test-with-coverage": "jest test --coverage",
"test": "jest test",
"test-watch": "jest test --watch"
"test-with-coverage": "jest test --silent --maxWorkers=50% --coverage",
"test-with-coverage:ci": "jest test --silent --runInBand --coverage",
"test": "jest test --silent --maxWorkers=50%",
"test-watch": "jest test --silent --maxWorkers=25% --watch"
},
"author": "Koen Kanters",
"license": "GPL-3.0",