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