Skip to content

Angular testing issues #7

@Romko775

Description

@Romko775

After using library as service the components are failing with

NullInjectorError: R3InjectorError(DynamicTestModule)[Gallery -> Gallery]: 
          NullInjectorError: No provider for Gallery!
        error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'Gallery', 'Gallery' ] })
        NullInjectorError: R3InjectorError(DynamicTestModule)[Gallery -> Gallery]: 
          NullInjectorError: No provider for Gallery!

&

NullInjectorError: R3InjectorError(DynamicTestModule)[Gallery -> Overlay -> Overlay]: 
          NullInjectorError: No provider for Overlay!
        error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'Gallery', 'Overlay', 'Overlay' ] })
        NullInjectorError: R3InjectorError(DynamicTestModule)[Gallery -> Overlay -> Overlay]: 
          NullInjectorError: No provider for Overlay!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions