circleci setup jest-junit to output junit test results
Showing
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": [ | ||
... | ... |
Please register or sign in to comment