mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
14 lines
396 B
JavaScript
14 lines
396 B
JavaScript
require('../src');
|
|
|
|
describe('Environment Variables', function() {
|
|
it('cc.sys.platform should be cc.sys.EDITOR_PAGE', function() {
|
|
expect(cc.sys.platform).to.be.equal(cc.sys.EDITOR_PAGE);
|
|
});
|
|
it('CC_EDITOR should be true', function() {
|
|
expect(CC_EDITOR).to.be.true;
|
|
});
|
|
it('CC_TEST should be true', function() {
|
|
expect(CC_TEST).to.be.true;
|
|
});
|
|
});
|