Skip to content

Misleading example of testing services #304

@bkostrowiecki

Description

@bkostrowiecki

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions