mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
1380e46c34
* unit test for ts * Fix ts-jest warnings * Remove puppeteer for now * fix physics define and jest config for windows * Replace Node ref with INode ref * Fix ci issue * Fix * tweak * tweak * Fix vscode launcher * now physics framework export all physics component (#28) * tweaks
14 lines
308 B
JavaScript
14 lines
308 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_BUILT_IN: true
|
|
}
|
|
}; |