mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-04 03:17:14 +00:00
432720b8c8
* fix: appveyor test failure * ci: bring back yarn cache * ci: turn off matrix * refactor: use babel instead of esm in jest * refactor: use es modules in fixtures
18 lines
571 B
JavaScript
18 lines
571 B
JavaScript
module.exports = {
|
|
testEnvironment: 'node',
|
|
coverageDirectory: './coverage/',
|
|
collectCoverageFrom: [
|
|
'lib/!(app)/**',
|
|
'!lib/builder/webpack/plugins/vue/**'
|
|
],
|
|
setupTestFrameworkScriptFile: './test/utils/setup',
|
|
testPathIgnorePatterns: ['test/fixtures/.*/.*?/'],
|
|
transformIgnorePatterns: ['<rootDir>/node_modules/'],
|
|
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
|
|
}
|