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 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.
Hi there,
I encounter a problem with testing services. According to documentation I try to call
bundlefunction 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: