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 for coverage crash #98

Merged
merged 2 commits into from Aug 1, 2015
Merged

Fix for coverage crash #98

merged 2 commits into from Aug 1, 2015

Conversation

j0tunn
Copy link
Contributor

@j0tunn j0tunn commented Jul 31, 2015

Мерджим файлы с учетом source maps

@levonet levonet added the review label Jul 31, 2015
@j0tunn j0tunn changed the title Fix/coverage.crash Fix for coverage crash Jul 31, 2015
@j0tunn
Copy link
Contributor Author

j0tunn commented Aug 1, 2015

@blond 🆙

} else {
result[key] = value;
}
function mergeCoverage(reports) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Я правильно понимаю, что раньше объединение было реализовано не правильно и это не связано с sourcemaps?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

да, это не связано с sourcemaps. Насколько оно было правильно реализовано - это вопрос, т.к. в доке сказано что mergeFileCoverage - это для слияния статистики одного и того же файла, а collector разбирается с этим сам и где нужно как раз и вызывает mergeFileCoverage

blond added a commit that referenced this pull request Aug 1, 2015
@blond blond merged commit e1fca48 into master Aug 1, 2015
@blond blond removed the review label Aug 1, 2015
@blond blond deleted the fix/coverage.crash branch August 1, 2015 10:59
@blond blond added this to the 0.12.1 milestone Aug 4, 2015
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.

None yet

3 participants