Commit 2dd199d4 authored by BryceLTaylor's avatar BryceLTaylor

circleci setup jest-junit to output junit test results

parent 221cb7c7
...@@ -20,6 +20,7 @@ deploy.zip ...@@ -20,6 +20,7 @@ deploy.zip
ENV ENV
# Test # Test
/test/results/*
/.nyc_output /.nyc_output
/coverage /coverage
/bin/lib/localized-urls.json /bin/lib/localized-urls.json
......
This diff is collapsed.
...@@ -90,6 +90,7 @@ ...@@ -90,6 +90,7 @@
"html-webpack-plugin": "^3.2.0", "html-webpack-plugin": "^3.2.0",
"iso-3166-2": "0.4.0", "iso-3166-2": "0.4.0",
"jest": "^23.6.0", "jest": "^23.6.0",
"jest-junit": "12.0.0",
"keymirror": "0.1.1", "keymirror": "0.1.1",
"lodash.bindall": "4.4.0", "lodash.bindall": "4.4.0",
"lodash.defaultsdeep": "4.6.1", "lodash.defaultsdeep": "4.6.1",
...@@ -139,7 +140,15 @@ ...@@ -139,7 +140,15 @@
"moduleNameMapper": { "moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/__mocks__/fileMock.js", "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/__mocks__/fileMock.js",
"\\.(css|less|scss)$": "<rootDir>/test/__mocks__/styleMock.js" "\\.(css|less|scss)$": "<rootDir>/test/__mocks__/styleMock.js"
} },
"reporters": [
"default",
"jest-junit"
]
},
"jest-junit": {
"outputDirectory": "./test/results",
"outputName": "jest-integration-results.xml"
}, },
"nyc": { "nyc": {
"include": [ "include": [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment