mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 11:20:11 +00:00
8 lines
231 B
TypeScript
8 lines
231 B
TypeScript
import '../fixtures/window';
|
|
import { isSimulatorHost } from '../../src/simulator';
|
|
|
|
it('isSimulatorHost', () => {
|
|
expect(isSimulatorHost({ isSimulator: true })).toBeTruthy();
|
|
expect(isSimulatorHost({ a: 1 })).toBeFalsy();
|
|
});
|