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

fix LCOV reporter when toHTML option is false #391

Closed
wants to merge 1 commit into from

Conversation

heldr
Copy link

@heldr heldr commented Feb 26, 2014

Hi,

Once we run LCOV reporter with the option toHTML as false, it set only the last file coverage result.

I've fixed that creating the global attribute _$blanket_LCOV as soon as blanket.customReporter is called, then I increment the same. I thought to implement inside the conditional options.toHTML !== 'undefined' before, but it can inherit old results in some cases.

An alternative to let each file result separated(the same way as html) is turning _$blanket_LCOV into array.

So, what do you think?

Cheers!

@heldr
Copy link
Author

heldr commented Aug 27, 2014

Fixed in #403

@heldr heldr closed this Aug 27, 2014
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

Successfully merging this pull request may close these issues.

1 participant