Nuxt/jest.config.js
2018-07-24 11:44:08 +01:00

15 lines
392 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,
detectOpenHandles: true
}