diff --git a/ng2-components/ng2-alfresco-login/tests-runner.html b/ng2-components/ng2-alfresco-login/tests-runner.html index 18aa6b965b..cd19c05267 100644 --- a/ng2-components/ng2-alfresco-login/tests-runner.html +++ b/ng2-components/ng2-alfresco-login/tests-runner.html @@ -31,8 +31,9 @@ }); // #3. Import the spec file explicitly - System.import('src/authentication.service.spec') - + Promise.all([ + System.import('src/authentication.service.spec') + ]) // #4. wait for all imports to load ... // then re-execute `window.onload` which // triggers the Jasmine test-runner start