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 = {
|
||||
testEnvironment: 'node',
|
||||
coverageDirectory: './coverage/',
|
||||
coveragePathIgnorePatterns: [
|
||||
'<rootDir>/node_modules/',
|
||||
'<rootDir>/test/',
|
||||
'<rootDir>/lib/builder/webpack/plugins/vue/',
|
||||
'<rootDir>/lib/[^/]*\\.js'
|
||||
collectCoverageFrom: [
|
||||
'lib/!(app)/**',
|
||||
'!lib/builder/webpack/plugins/vue/**'
|
||||
],
|
||||
setupTestFrameworkScriptFile: './test/utils/setup',
|
||||
testPathIgnorePatterns: ['test/fixtures/.*/.*?/'],
|
||||
|
Loading…
Reference in New Issue
Block a user