Update output directory for jest-junit

This commit is contained in:
sayhiben
2024-05-18 23:22:55 -07:00
parent 22cc6268e1
commit 6382171af8
2 changed files with 7 additions and 3 deletions

8
.gitignore vendored
View File

@@ -1,4 +1,8 @@
node_modules
dist
# Entire directories
coverage
dist
node_modules
reports
# Individual files
junit.xml

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 --ci --reporters=default --reporters=jest-junit --testPathIgnorePatterns=src/node/server.test.js --coverage"
"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"
},
"author": "Max Goodhart <c@chromakode.com>",
"license": "MIT",