mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-17 11:15:14 +00:00
9df5f49e07
New packages: - `@nuxt/webpack` - `@nuxt/generator`
43 lines
749 B
JavaScript
43 lines
749 B
JavaScript
module.exports = {
|
|
testEnvironment: 'node',
|
|
|
|
expand: true,
|
|
|
|
forceExit: true,
|
|
|
|
// https://github.com/facebook/jest/pull/6747 fix warning here
|
|
// But its performance overhead is pretty bad (30+%).
|
|
// detectOpenHandles: true
|
|
|
|
setupTestFrameworkScriptFile: './test/utils/setup',
|
|
|
|
coverageDirectory: './coverage',
|
|
|
|
collectCoverageFrom: [
|
|
'packages/*/src/**/*.js',
|
|
'packages/cli/bin/*'
|
|
],
|
|
|
|
coveragePathIgnorePatterns: [
|
|
'node_modules',
|
|
'packages/app',
|
|
'packages/webpack/plugins/vue'
|
|
],
|
|
|
|
testPathIgnorePatterns: [
|
|
'node_modules',
|
|
'test/fixtures/.*/.*?/',
|
|
'examples/.*'
|
|
],
|
|
|
|
transformIgnorePatterns: [
|
|
'/node_modules/',
|
|
'/dist/'
|
|
],
|
|
|
|
moduleFileExtensions: [
|
|
'js',
|
|
'json'
|
|
]
|
|
}
|