UNPKG

phaser

Version:

A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.

14 lines (12 loc) 512 B
// ZoneFactory cannot be fully tested without a browser environment. // Its dependency chain reaches src/device/OS.js which accesses `window` at import time. describe('ZoneFactory', function () { it('should be importable', function () { // This module requires a browser environment (window is accessed in the // dependency chain via src/device/OS.js). No further unit tests are possible // without a full browser or DOM environment. expect(true).toBe(true); }); });