jest.config.js 653 字节
Newer Older
A
Anne_LXM 已提交
1
const path = require('path');
study夏羽's avatar
study夏羽 已提交
2
module.exports = {
A
Anne_LXM 已提交
3 4
	testTimeout:30000,
	reporters: ['default'],
study夏羽's avatar
study夏羽 已提交
5 6 7
	watchPathIgnorePatterns: ['/node_modules/', '/dist/', '/.git/'],
	moduleFileExtensions: ['js', 'json'],
	rootDir: __dirname,
A
Anne_LXM 已提交
8 9 10 11
	// testMatch: ["<rootDir>/pages/**/*test.[jt]s?(x)"],
	testMatch: ["<rootDir>/pages/cloudObject/cloudObject.test.js","<rootDir>/pages/clientDB/permission-table-compound/permission-table-compound.test.js","<rootDir>/pages/clientDB/permission-table-simple/permission-table-simple.test.js"],
	testPathIgnorePatterns: ['/node_modules/','/js_sdk/validator/permission-test.js'],
	testSequencer: path.join(__dirname, "testSequencer.js")
study夏羽's avatar
study夏羽 已提交
12
}