chore: add test report generation helper (#340)

This commit is contained in:
Shelley Vohr
2020-03-09 09:28:43 -07:00
committed by GitHub
parent da2e17cd37
commit 32d5ea99aa
3 changed files with 4 additions and 1 deletions
+3
View File
@@ -31,6 +31,9 @@ yarn-error.log
# Coverage
coverage
# Test report
report.json
# npm package
/npm/dist
/npm/path.txt
-1
View File
@@ -4,7 +4,6 @@
},
"testURL": "http://localhost",
"testRegex": "(-spec)\\.(ts|tsx)$",
"bail": true,
"resetMocks": true,
"resetModules": true,
"snapshotSerializers": [
+1
View File
@@ -22,6 +22,7 @@
"test": "jest --config=jest.json",
"test:ci": "jest --config=jest.json --coverage --runInBand",
"test:coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test:report": "jest --config=jest.json --json --outputFile=report.json | exit 0",
"tsc": "tsc --noEmit -p .",
"electron-releases": "node --unhandled-rejections=strict ./tools/fetch-releases.js"
},