Files
cocos4/jest.config.js
T
Leslie Leigh (李的序) 07fd9e3e4f Optimize CI (#6985)
2020-07-15 09:45:18 +08:00

13 lines
268 B
JavaScript

module.exports = {
testEnvironment: 'jsdom',
testRegex: '/tests/.*\\.(test|spec)?\\.(ts|tsx)$',
setupFiles: [
'./tests/init.ts'
],
coverageDirectory: './test/report/',
globals: {
CC_DEV: true,
CC_TEST: true,
CC_PHYSICS_BUILTIN: true,
}
};