jest.config.js 358 字节
Newer Older
Y
yurj26 已提交
1
module.exports = {
雪洛's avatar
雪洛 已提交
2
  testTimeout: 30000,
DCloud-WZF's avatar
DCloud-WZF 已提交
3 4 5 6 7 8 9
  reporters: ['default'],
  watchPathIgnorePatterns: ['/node_modules/', '/dist/', '/.git/'],
  moduleFileExtensions: ['js', 'json'],
  rootDir: __dirname,
  testMatch: ["<rootDir>/pages/**/*test.[jt]s?(x)"],
  testPathIgnorePatterns: ['/node_modules/'],
  setupFilesAfterEnv: ['<rootDir>/jest-setup.js'],
Y
yurj26 已提交
10
}