* [lint] use strict etc

This commit is contained in:
Riceball LEE 2017-09-18 11:28:23 +08:00
parent 98c93ac1a4
commit 9a51cb9e99
1 changed files with 3 additions and 2 deletions

View File

@ -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();
});
});