Plato on Github
Report Home
test/spec/sprite.js
Maintainability
146.73
Lines of code
18
Difficulty
7.00
Estimated Errors
0.10
Function weight
By Complexity
By SLOC
define('spec/sprite', ['lyria/sprite'], function(Sprite) { describe('lyria/sprite', function() { var sprite = new Sprite(); it('is a function', function() { expect(Sprite).to.be.a('function'); }); it('can be instantiated', function() { expect(sprite).to.be.a('object'); expect(sprite).to.be.an.instanceOf(Sprite); }); }); });