You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encounter a problem with testing services. According to documentation I try to call bundle function with my service as a parameter, but it gives me an error that I should pass rather something in type of NgModule. So I believe there is a mistake in the documentation, because given example doesn't work properly.
Shorten tests output:
Error: bundle() requires a decorated NgModule as its first argument.
The text was updated successfully, but these errors were encountered:
Hi there,
I encounter a problem with testing services. According to documentation I try to call
bundle
function with my service as a parameter, but it gives me an error that I should pass rather something in type ofNgModule
. So I believe there is a mistake in the documentation, because given example doesn't work properly.Shorten tests output:
The text was updated successfully, but these errors were encountered: