mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 15:22:39 +00:00
fix(ci): report coverage only for unit tests
jest + puppeteer: https://circleci.com/gh/nuxt/nuxt.js/581
This commit is contained in:
parent
190923e51a
commit
79d97b2be2
@ -1,6 +1,5 @@
|
||||
module.exports = {
|
||||
testEnvironment: 'node',
|
||||
coverageDirectory: './coverage/',
|
||||
collectCoverage: true,
|
||||
setupTestFrameworkScriptFile: './test/utils/setup'
|
||||
}
|
||||
|
@ -43,7 +43,7 @@
|
||||
"scripts": {
|
||||
"test": "npm run build-fixtures && npm run test:unit",
|
||||
"build-fixtures": "node ./scripts/build-fixtures",
|
||||
"test:unit": "jest --maxWorkers=4 test/unit",
|
||||
"test:unit": "jest --maxWorkers=4 --coverage test/unit",
|
||||
"test:e2e": "jest --maxWorkers=1 test/e2e",
|
||||
"coverage": "codecov",
|
||||
"lint": "eslint --ext .js,.mjs,.vue bin/* build/ lib/ test/ examples/",
|
||||
|
Loading…
Reference in New Issue
Block a user