mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-04-02 00:03:04 -04:00
circleci create xunit test reports for tap unit tests
This commit is contained in:
parent
92ee636466
commit
8d9bd28097
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@
|
|||
"test:unit": "npm run test:unit:jest && npm run test:unit:tap",
|
||||
"test:unit:jest": "JEST_JUNIT_OUTPUT_NAME=unit-jest-results.xml jest ./test/unit/ && JEST_JUNIT_OUTPUT_NAME=localization-jest-results.xml jest ./test/localization/*.test.js",
|
||||
"test:unit:tap": "tap ./test/{unit-legacy,localization-legacy}/*.js --no-coverage -R classic",
|
||||
"test:unit:tap:ci": "tap ./test/{unit-legacy,localization-legacy}/*.js --no-coverage -R classic --output-file ./test/results/unit-raw.tap",
|
||||
"test:unit:convertReportToXunit": "tap ./test/results/unit-raw-tap.tap --no-coverage -R xunit > ./test/results/unit-tap-results.xml",
|
||||
"test:coverage": "tap ./test/{unit-legacy,localization-legacy}/*.js --coverage --coverage-report=lcov",
|
||||
"build": "npm run clean && npm run translate && NODE_OPTIONS=--max_old_space_size=8000 webpack --bail",
|
||||
"clean": "rm -rf ./build && rm -rf ./intl && mkdir -p build && mkdir -p intl",
|
||||
|
|
Loading…
Add table
Reference in a new issue