UNPKG

phaser

Version:

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

17 lines (13 loc) 483 B
var GameObjectCreator = require('../../../src/gameobjects/GameObjectCreator'); require('../../../src/gameobjects/particles/ParticleEmitterCreator'); describe('ParticleEmitterCreator', function () { it('should be importable', function () { expect(GameObjectCreator).toBeDefined(); }); it('should register particles on GameObjectCreator prototype', function () { expect(typeof GameObjectCreator.prototype.particles).toBe('function'); }); });