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