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) • 495 B
JavaScript
var GameObjectFactory = require('../../../src/gameobjects/GameObjectFactory');
describe('BlitterFactory', function ()
{
it('should be importable', function ()
{
require('../../../src/gameobjects/blitter/BlitterFactory');
});
it('should register a blitter factory method on GameObjectFactory', function ()
{
require('../../../src/gameobjects/blitter/BlitterFactory');
expect(typeof GameObjectFactory.prototype.blitter).toBe('function');
});
});