Nuxt/jest.config.js
2018-04-06 23:42:54 +08:00

15 lines
425 B
JavaScript

module.exports = {
testEnvironment: 'node',
coverageDirectory: './coverage/',
coveragePathIgnorePatterns: [
'<rootDir>/node_modules/',
'<rootDir>/test/',
'<rootDir>/lib/builder/webpack/plugins/vue/',
'<rootDir>/lib/[^/]*\\.js'
],
setupTestFrameworkScriptFile: './test/utils/setup',
testPathIgnorePatterns: ['test/fixtures/.*/.*?/'],
moduleFileExtensions: ['js', 'mjs', 'json'],
expand: true
}