17 lines
440 B
JavaScript
17 lines
440 B
JavaScript
module.exports = {
|
|
preset: 'ts-jest',
|
|
globals: {
|
|
__DEV__: true,
|
|
__COMPAT__: false
|
|
},
|
|
coverageDirectory: 'coverage',
|
|
coverageReporters: ['html', 'lcov', 'text'],
|
|
collectCoverageFrom: ['packages/*/src/**/*.ts'],
|
|
moduleFileExtensions: ['ts', 'js', 'json'],
|
|
moduleNameMapper: {
|
|
'^@vue/(.*?)$': '<rootDir>/packages/$1/src'
|
|
},
|
|
rootDir: __dirname,
|
|
testMatch: ['<rootDir>/packages/**/__tests__/**/*spec.(t|j)s']
|
|
}
|