chore: add test report generation helper (#340)
This commit is contained in:
@@ -31,6 +31,9 @@ yarn-error.log
|
||||
# Coverage
|
||||
coverage
|
||||
|
||||
# Test report
|
||||
report.json
|
||||
|
||||
# npm package
|
||||
/npm/dist
|
||||
/npm/path.txt
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
},
|
||||
"testURL": "http://localhost",
|
||||
"testRegex": "(-spec)\\.(ts|tsx)$",
|
||||
"bail": true,
|
||||
"resetMocks": true,
|
||||
"resetModules": true,
|
||||
"snapshotSerializers": [
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user