From 9a51cb9e99597f972b4ef41dd55aecb2d7304914 Mon Sep 17 00:00:00 2001 From: Riceball LEE Date: Mon, 18 Sep 2017 11:28:23 +0800 Subject: [PATCH] * [lint] use strict etc --- test/model-load-config.test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/model-load-config.test.js b/test/model-load-config.test.js index f910df5..1748763 100644 --- a/test/model-load-config.test.js +++ b/test/model-load-config.test.js @@ -2,6 +2,7 @@ // Node module: loopback-boot // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT +'use strict'; var boot = require('../'); var fs = require('fs-extra'); @@ -30,8 +31,8 @@ describe('compiler', function() { var instructions = context.instructions; var model = getModelByName(instructions.models, 'Order'); - expect(model).to.be.exist; - expect(model.sourceFile).to.be.exist; + expect(model).to.be.exist(); + expect(model.sourceFile).to.be.exist(); done(); }); });