Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misleading example of testing services #304

Open
bkostrowiecki opened this issue Feb 27, 2017 · 2 comments
Open

Misleading example of testing services #304

bkostrowiecki opened this issue Feb 27, 2017 · 2 comments

Comments

@bkostrowiecki
Copy link

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.
@RobARichardson
Copy link

@bkostrowiecki same problem here. Were you able to find a workaround?

@aciccarello
Copy link

What documentation example are you referring to?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants