update to latest standards

This commit is contained in:
2016-12-10 19:46:47 +01:00
parent 62b91adf0e
commit 32db51c49a
6 changed files with 16 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ import * as _moduleExample from './moduleExample'
describe('smartsystem', function () {
it('should load a module lazily', function (done) {
let lazyModuleExample = new smartsystem.LazyModule<typeof _moduleExample>('./test/moduleExample.js')
let lazyModuleExample = new smartsystem.LazyModule<typeof _moduleExample>('../test/moduleExample.js',__dirname)
lazyModuleExample.load().then(m => {
console.log(m.exportedTestBoolean)