Files
cocos4/jest.config.js
T
jiaxin.lai 3fdda0d1c8 Rename built_in to builtin (#5390)
* rename ***_BUILT_IN to ***_BUILTIN

* add protection, it will be remove when editor repo ***_BUILT_IN rename to ***_BUILTIN
2019-09-16 10:50:05 +08:00

14 lines
307 B
JavaScript

module.exports = {
preset: 'ts-jest/presets/js-with-ts',
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
}
};