mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-06 21:10:38 +00:00
refactor: use collectCoverageFrom instead of coveragePathIgnorePatterns
This commit is contained in:
parent
7a7239d35d
commit
4285d48691
@ -1,11 +1,9 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
testEnvironment: 'node',
|
testEnvironment: 'node',
|
||||||
coverageDirectory: './coverage/',
|
coverageDirectory: './coverage/',
|
||||||
coveragePathIgnorePatterns: [
|
collectCoverageFrom: [
|
||||||
'<rootDir>/node_modules/',
|
'lib/!(app)/**',
|
||||||
'<rootDir>/test/',
|
'!lib/builder/webpack/plugins/vue/**'
|
||||||
'<rootDir>/lib/builder/webpack/plugins/vue/',
|
|
||||||
'<rootDir>/lib/[^/]*\\.js'
|
|
||||||
],
|
],
|
||||||
setupTestFrameworkScriptFile: './test/utils/setup',
|
setupTestFrameworkScriptFile: './test/utils/setup',
|
||||||
testPathIgnorePatterns: ['test/fixtures/.*/.*?/'],
|
testPathIgnorePatterns: ['test/fixtures/.*/.*?/'],
|
||||||
|
Loading…
Reference in New Issue
Block a user