adding json flag to nightly run so test report generated

This commit is contained in:
Martin McKeaveney 2023-03-30 14:45:26 +01:00
parent 61de98c959
commit 90c8ae9ed3
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
"api:test:ci": "start-server-and-test api:server:setup:ci http://localhost:4100/builder test", "api:test:ci": "start-server-and-test api:server:setup:ci http://localhost:4100/builder test",
"api:test": "start-server-and-test api:server:setup http://localhost:4100/builder test", "api:test": "start-server-and-test api:server:setup http://localhost:4100/builder test",
"api:test:local": "env-cmd jest --runInBand --testPathIgnorePatterns=\\\"\\/dataSources\\/\\\"", "api:test:local": "env-cmd jest --runInBand --testPathIgnorePatterns=\\\"\\/dataSources\\/\\\"",
"api:test:nightly": "env-cmd jest --runInBand --outputFile=testResults.json" "api:test:nightly": "env-cmd jest --runInBand --json --outputFile=testResults.json"
}, },
"jest": { "jest": {
"preset": "ts-jest", "preset": "ts-jest",