adjust junit settings for gha

This commit is contained in:
sayhiben
2024-05-18 23:44:42 -07:00
parent 539a3bf201
commit e14c6f1685
2 changed files with 2 additions and 2 deletions

View File

@@ -35,5 +35,5 @@ jobs:
if: success() || failure() # run this step even if previous step failed
with:
name: Jest Tests # Name of the check run which will be created
path: reports/junit*.xml # Path to test results
path: junit*.xml # Path to test results
reporter: jest-junit # Format of test results

View File

@@ -8,7 +8,7 @@
"start": "npm run build -- --stats=errors-only && electron dist",
"start-local": "npm run build -- --stats=errors-only && electron dist --control.address=http://localhost:4444 --control.username=streamwall --control.password=local-dev",
"test-full": "jest",
"test": "JEST_JUNIT_OUTPUT_DIR=reports JEST_JUNIT_OUTPUT_NAME=junit.json jest --ci --reporters=default --reporters=jest-junit --testPathIgnorePatterns=src/node/server.test.js --coverage"
"test": "jest --ci --reporters=default --reporters=jest-junit --testPathIgnorePatterns=src/node/server.test.js --coverage"
},
"author": "Max Goodhart <c@chromakode.com>",
"license": "MIT",