mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
Optimize build time constants implementation (#7882)
This commit is contained in:
committed by
GitHub
parent
aaa2fe5abf
commit
6f57c3ad8f
+2
-2
@@ -1,7 +1,7 @@
|
||||
|
||||
jest.mock(
|
||||
'internal:constants',
|
||||
() => jest.requireActual('../cocos/core/default-constants'),
|
||||
'internal:raw-constants',
|
||||
() => jest.requireActual('./utils/testing-raw-constants'),
|
||||
{ virtual: true, },
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user