mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
3fdda0d1c8
* rename ***_BUILT_IN to ***_BUILTIN * add protection, it will be remove when editor repo ***_BUILT_IN rename to ***_BUILTIN
14 lines
307 B
JavaScript
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
|
|
}
|
|
}; |