jest.config.js 582 字节
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/about/about.test.js"],
study夏羽's avatar
study夏羽 已提交
12 13 14 15 16
    testPathIgnorePatterns: ['/node_modules/'],
	 testSequencer:path.join(__dirname, "testSequencer.js")
	 //pages/ucenter/userinfo/userinfo.test.js
	 //pages/ucenter/login-page/pwd-login/pwd-login.test.js
	 
study夏羽's avatar
study夏羽 已提交
17
	 
study夏羽's avatar
study夏羽 已提交
18
}