caolan / caolan/nodeunit

lcov report has bad metrics when using sandbox

Open
#274 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.9k
Forks
359
PR merge metrics
No merged PRs in 30d

Description

I tried producing a code coverage report using the lcov reporter. It works as long as I don't mess with the sandbox util.

I'm using the sandbox utility to replace 'require' and mock out modules used by the module under test.

I've been working really hard at trying different code coverage tools and different ways to mock.

Should I be mocking differently or is there a way we could fix the code coverage instrumentation?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.