diff --git a/lib/resources/src/main-cli.js b/lib/resources/src/main-cli.js index a4474012d..13c32fae3 100644 --- a/lib/resources/src/main-cli.js +++ b/lib/resources/src/main-cli.js @@ -13,5 +13,5 @@ export function configure(aurelia) { aurelia.use.plugin('aurelia-testing'); } - aurelia.start().then(() => aurelia.setRoot()); + return aurelia.start().then(() => aurelia.setRoot()); } diff --git a/lib/resources/src/main-cli.ts b/lib/resources/src/main-cli.ts index e3a450bec..ed0e56be8 100644 --- a/lib/resources/src/main-cli.ts +++ b/lib/resources/src/main-cli.ts @@ -14,5 +14,5 @@ export function configure(aurelia: Aurelia) { aurelia.use.plugin('aurelia-testing'); } - aurelia.start().then(() => aurelia.setRoot()); + return aurelia.start().then(() => aurelia.setRoot()); } diff --git a/lib/resources/src/main-webpack.js b/lib/resources/src/main-webpack.js index c7e9b0d02..c78344924 100644 --- a/lib/resources/src/main-webpack.js +++ b/lib/resources/src/main-webpack.js @@ -26,5 +26,5 @@ export function configure(aurelia) { aurelia.use.plugin(PLATFORM.moduleName('aurelia-testing')); } - aurelia.start().then(() => aurelia.setRoot(PLATFORM.moduleName('app'))); + return aurelia.start().then(() => aurelia.setRoot(PLATFORM.moduleName('app'))); } diff --git a/lib/resources/src/main-webpack.ts b/lib/resources/src/main-webpack.ts index c7829407c..ec1199da0 100644 --- a/lib/resources/src/main-webpack.ts +++ b/lib/resources/src/main-webpack.ts @@ -28,5 +28,5 @@ export function configure(aurelia: Aurelia) { aurelia.use.plugin(PLATFORM.moduleName('aurelia-testing')); } - aurelia.start().then(() => aurelia.setRoot(PLATFORM.moduleName('app'))); + return aurelia.start().then(() => aurelia.setRoot(PLATFORM.moduleName('app'))); }