jest.config.js 464 字节
Newer Older
1
const path = require('path')
dcloud_wdl's avatar
dcloud_wdl 已提交
2

Y
yurj26 已提交
3
module.exports = {
4
  testTimeout: 30000,
DCloud-WZF's avatar
DCloud-WZF 已提交
5 6 7 8
  reporters: ['default'],
  watchPathIgnorePatterns: ['/node_modules/', '/dist/', '/.git/'],
  moduleFileExtensions: ['js', 'json'],
  rootDir: __dirname,
杜庆泉's avatar
杜庆泉 已提交
9
  testMatch: ["<rootDir>/pages/**/*test.[jt]s?(x)"],
10 11
  testPathIgnorePatterns: [
      '/node_modules/',
12
    ],
DCloud-WZF's avatar
DCloud-WZF 已提交
13
  setupFilesAfterEnv: ['<rootDir>/jest-setup.js'],
14
  testSequencer: path.join(__dirname, "testSequencer.js")
Y
yurj26 已提交
15
}