When I swallow the error, it seems to continue and work
try {
testing.setBaseTestProviders(providers.TEST_BROWSER_DYNAMIC_PLATFORM_PROVIDERS,
providers.TEST_BROWSER_DYNAMIC_APPLICATION_PROVIDERS);
} catch (err) {
console.log(err);
}
On Tuesday, May 24, 2016 at 3:03:10 PM UTC-7, Shaddy Zeineddine wrote:
>
> doing this...
>
> // assume testing = ('@angular/core/testing')
> // assume providers = ('@angular/platform-browser-dynamic/testing')
> testing.setBaseTestProviders(providers.TEST_BROWSER_DYNAMIC_PLATFORM_PROVIDERS,
>
> providers.TEST_BROWSER_DYNAMIC_APPLICATION_PROVIDERS);
>
> causes this...
>
> Error: Cannot resolve all parameters for 'ViewUtils'(RootRenderer,
> undefined @Inject(Token AppId), SanitizationService). Make sure that all
> the parameters are decorated with Inject or have valid type annotations and
> that 'ViewUtils' is decorated with Injectable.
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.