nodeunit icon indicating copy to clipboard operation
nodeunit copied to clipboard

lcov report has bad metrics when using sandbox

Open ecokeley opened this issue 11 years ago • 0 comments

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?

ecokeley avatar Aug 26 '14 18:08 ecokeley