JEST --detectOpenHandles flag

This commit is contained in:
Jan Prochazka 2024-09-19 18:31:52 +02:00
parent fbfcdcbc40
commit 75e63d2710

View File

@ -13,7 +13,7 @@
"wait:ci": "cross-env DEVMODE=1 CITEST=1 node wait.js", "wait:ci": "cross-env DEVMODE=1 CITEST=1 node wait.js",
"test:local": "cross-env DEVMODE=1 LOCALTEST=1 jest", "test:local": "cross-env DEVMODE=1 LOCALTEST=1 jest",
"test:local:path": "cross-env DEVMODE=1 LOCALTEST=1 jest --runTestsByPath __tests__/data-duplicator.spec.js", "test:local:path": "cross-env DEVMODE=1 LOCALTEST=1 jest --runTestsByPath __tests__/data-duplicator.spec.js",
"test:ci": "cross-env DEVMODE=1 CITEST=1 jest --runInBand --json --outputFile=result.json --testLocationInResults", "test:ci": "cross-env DEVMODE=1 CITEST=1 jest --runInBand --json --outputFile=result.json --testLocationInResults --detectOpenHandles`",
"run:local": "docker-compose down && docker-compose up -d && yarn wait:local && yarn test:local" "run:local": "docker-compose down && docker-compose up -d && yarn wait:local && yarn test:local"
}, },
"jest": { "jest": {