jest.config.js 604 字节
Newer Older
study夏羽's avatar
study夏羽 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
const path = require('path');
module.exports = {
    testTimeout: 10000,
    reporters: [
        'default'
    ],
    watchPathIgnorePatterns: ['/node_modules/', '/dist/', '/.git/'],
    moduleFileExtensions: ['js', 'json'],
    rootDir: __dirname,
	 testMatch: ["<rootDir>/pages/**/*test.[jt]s?(x)"],
	 // testMatch: ["<rootDir>/pages/ucenter/login-page/pwd-retrieve/pwd-retrieve.test.js"],
    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
	 
}