sisoe24 / Nuke-Tools

Avoid using console in code that runs on browser JS-0002
Bug risk
Major
1 occurrence in this check
Avoid using console in code that runs on the browser
76    await nyc.writeCoverageFile();
77
78    // Capture text-summary reporter's output and log it in console
79    console.log(await captureStdout(nyc.report.bind(nyc)));80
81    if (failures > 0) {
82        throw new Error(`${failures} tests failed.`);