You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 8, 2024. It is now read-only.
I think because I'm using nodeunits util Sandbox to replace require I am only getting the test that isn't mocking out other modules. I see in the configuration there are hooks but it isn't clear how I could use them.
Yeah - there is no good way to do coverage in the nodeunit sandbox because istanbul relies on global variables to collect coverage. Need to dig deeper since I did notice that there is a way to pass some globals into the nodeunit sandbox.
All my unit tests are passing with nodeunit and my tests are executing ever line of my 1 module I'm testing. Coverage seems to only count 1 test.
I validated by putting console.logs in code and tests to prove lines were executed.
The text was updated successfully, but these errors were encountered: