Test whether the LMLayerWorker can be instantiated.

This commit is contained in:
Eddie Antonio Santos 2018-11-15 14:15:58 -07:00
parent 043bef5df1
commit fdaf5bc5b0
No known key found for this signature in database
GPG key ID: DD411EA4D9509D87

View file

@ -2,10 +2,10 @@ var assert = require('chai').assert;
var worker = require('../../worker');
describe('Dummy worker', function() {
describe('#hello()', function() {
it('should return "hello"', function() {
assert.equal(worker.hello(), 'hello');
describe('LMLayerWorker', function() {
describe('#constructor()', function() {
it('should construct with zero arguments', function() {
assert.isOk(new worker.LMLayerWorker);
});
});
});