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