fix(tests): fix tests

This commit is contained in:
vsavkin
2015-10-08 08:22:11 -07:00
parent 5458036de7
commit 8b725c77fd
26 changed files with 82 additions and 86 deletions

View File

@ -74,7 +74,7 @@ function _componentBindings(appComponentType: Type): Array<Type | Binding | any[
return componentRef;
});
},
[bind(DynamicComponentLoader).toClass(DynamicComponentLoader_), Injector]),
[DynamicComponentLoader, Injector]),
bind(appComponentType)
.toFactory((p: Promise<any>) => p.then(ref => ref.instance), [APP_COMPONENT_REF_PROMISE]),