Skip to content
This repository was archived by the owner on Dec 8, 2024. It is now read-only.
This repository was archived by the owner on Dec 8, 2024. It is now read-only.

Uncovered Branches when generating ngrx effects #818

@phillipzada

Description

@phillipzada

Hi all,

Been racking my brain for days on this one, can't seem to figure what branches are being missed/marked uncovered from this code

2017-06-21_11-39-41

Is there any suggestions on a fix, or is there a possible way to find out what branches Istanbul thinks I'm missing?

using angular-cli test, karma, karma-coverage-istanbul-reporter if that helps.

I think it has something to do with Observable as the ActionExtension class extends Observable, and its constructor was previously flagged uncovered code too when a type was set

export class ActionExtensions extends Observable<Action> {
 constructor( @Inject(Dispatcher) actionsSubject: any /*Observable<Action> Replaced with any due to Code Coverage Issue*/) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions