mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
a3ee06e374
* Optimize unit test; support overriding constants in per-test-suite
8 lines
212 B
TypeScript
8 lines
212 B
TypeScript
/// <reference path="../../@types/consts.d.ts"/>
|
|
|
|
import { SUPPORT_JIT, BUILD } from 'internal:constants';
|
|
|
|
test(`Constant overrides`, () => {
|
|
expect(SUPPORT_JIT).toBe(true);
|
|
expect(BUILD).toBe(true);
|
|
}); |