jest.config.js 481 字节
Newer Older
study夏羽's avatar
study夏羽 已提交
1 2
const path = require('path');
module.exports = {
study夏羽's avatar
测试  
study夏羽 已提交
3
    testTimeout: 20000,
study夏羽's avatar
study夏羽 已提交
4 5 6 7 8 9 10
    reporters: [
        'default'
    ],
    watchPathIgnorePatterns: ['/node_modules/', '/dist/', '/.git/'],
    moduleFileExtensions: ['js', 'json'],
    rootDir: __dirname,
	 testMatch: ["<rootDir>/pages/**/*test.[jt]s?(x)"],
study夏羽's avatar
study夏羽 已提交
11
	 // testMatch: ["<rootDir>/pages/ucenter/settings/settings.test.js"],
study夏羽's avatar
study夏羽 已提交
12 13 14
    testPathIgnorePatterns: ['/node_modules/'],
	 testSequencer:path.join(__dirname, "testSequencer.js")
}