From fdaf5bc5b02619d65ee4a2ef2cf6dbef91e0d480 Mon Sep 17 00:00:00 2001 From: Eddie Antonio Santos Date: Thu, 15 Nov 2018 14:15:58 -0700 Subject: [PATCH] Test whether the LMLayerWorker can be instantiated. --- .../unit_tests/headless/worker-intialization.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/predictive-text/unit_tests/headless/worker-intialization.js b/common/predictive-text/unit_tests/headless/worker-intialization.js index dedf9d60e0..7435ced341 100644 --- a/common/predictive-text/unit_tests/headless/worker-intialization.js +++ b/common/predictive-text/unit_tests/headless/worker-intialization.js @@ -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); }); }); });