diff --git a/jest.config.js b/jest.config.js index e7fa0205a2..22d6ef094a 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,5 @@ module.exports = { testEnvironment: 'node', coverageDirectory: './coverage/', - collectCoverage: true, setupTestFrameworkScriptFile: './test/utils/setup' } diff --git a/package.json b/package.json index 08621309be..0116b8db0d 100644 --- a/package.json +++ b/package.json @@ -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/",