vant/jest.config.js
2020-12-11 10:07:07 +08:00

13 lines
276 B
JavaScript

module.exports = {
testPathIgnorePatterns: ['/node_modules/', '/packages/'],
collectCoverageFrom: [
'src/**/*.{js,jsx,ts,tsx,vue}',
'!**/demo/**',
'!**/test/**',
'!**/lang/**',
],
moduleNameMapper: {
'^@demo(.*)$': '<rootDir>/docs/site$1',
},
};