diff --git a/.gitignore b/.gitignore index a0f4bcb..421543a 100644 --- a/.gitignore +++ b/.gitignore @@ -22,8 +22,8 @@ node_modules/ build/ script/__build__/ -# Testing reports -reports/ +# Coverage reports +coverage/ # Favicon cache .wwp-cache/ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 20a705a..ab52740 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -58,7 +58,7 @@ test: coverage: '/^Statements\s*:\s*([^%]+)/' artifacts: paths: - - reports/ + - coverage/ script: - yarn test diff --git a/package.json b/package.json index b89cd0b..0cec90e 100644 --- a/package.json +++ b/package.json @@ -76,20 +76,11 @@ "!src/pages/**/config.js", "!src/pages/**/browser.js" ], - "coverageDirectory": "/reports/coverage", "coverageReporters": [ "text-summary", "html" - ], - "reporters": [ - "default", - "jest-junit" ] }, - "jest-junit": { - "output": "./reports/test-results/jest/results.xml", - "suiteName": "Jest tests" - }, "eslintConfig": { "env": { "browser": true, @@ -162,7 +153,6 @@ "identity-obj-proxy": "^3.0.0", "immutable": "^3.8.2", "jest": "^23.1.0", - "jest-junit": "^5.0.0", "mime-types": "^2.1.18", "npm-run-all": "^4.1.2", "postcss-cssnext": "^3.1.0", diff --git a/yarn.lock b/yarn.lock index bff37d2..8281fc4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4686,15 +4686,6 @@ jest-jasmine2@^23.1.0: jest-util "^23.1.0" pretty-format "^23.0.1" -jest-junit@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/jest-junit/-/jest-junit-5.0.0.tgz#30ed3317c325165c2458ed2649f09d6e214ffab8" - dependencies: - jest-validate "^23.0.1" - mkdirp "^0.5.1" - strip-ansi "^4.0.0" - xml "^1.0.1" - jest-leak-detector@^23.0.1: version "23.0.1" resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-23.0.1.tgz#9dba07505ac3495c39d3ec09ac1e564599e861a0" @@ -9099,10 +9090,6 @@ xml2js@^0.4.5: sax ">=0.6.0" xmlbuilder "~9.0.1" -xml@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/xml/-/xml-1.0.1.tgz#78ba72020029c5bc87b8a81a3cfcd74b4a2fc1e5" - xmlbuilder@^4.1.0: version "4.2.1" resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-4.2.1.tgz#aa58a3041a066f90eaa16c2f5389ff19f3f461a5"