mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-05 21:53:56 +00:00
17 lines
515 B
JavaScript
17 lines
515 B
JavaScript
module.exports = {
|
|
testEnvironment: 'node',
|
|
coverageDirectory: './coverage/',
|
|
collectCoverageFrom: [
|
|
'lib/!(app)/**',
|
|
'!lib/builder/webpack/plugins/vue/**'
|
|
],
|
|
setupTestFrameworkScriptFile: './test/utils/setup',
|
|
testPathIgnorePatterns: ['test/fixtures/.*/.*?/'],
|
|
moduleFileExtensions: ['js', 'mjs', 'json'],
|
|
expand: true,
|
|
forceExit: true
|
|
// https://github.com/facebook/jest/pull/6747 fix warning here
|
|
// But its performance overhead is pretty bad (30+%).
|
|
// detectOpenHandles: true
|
|
}
|