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
It looks like mocha 3 may not be supported. This #179 might fix it, but what I'm seeing is only the passing test stat is getting recorded and all other values are showing up NaN This means if a test fails, it doesn't fail the run.
The text was updated successfully, but these errors were encountered:
@AlexanderOMara Mocha v4 is functional. Can you provide me more details on what broke when you were trying to setup tests?
One issue which I figure was with url.js. we use this repo to conduct integration tests. testing url.js against mocha 4 would report zero tests passed. this is because url.js has some node runtime check
if ( typeof require == "function" )
{
var chai = require("chai");
var url = require("../url");
}
which would conflict with Mocha v4(as it had function named 'require' defined in it). when removing above check, it started working as expected.
I also tested against v3 and v5. checked again all minor and major versions.
Correct me if I have missed something.
Closing this issue for now, reopen with more details if issue persists.
It looks like mocha 3 may not be supported. This #179 might fix it, but what I'm seeing is only the passing test stat is getting recorded and all other values are showing up
NaN
This means if a test fails, it doesn't fail the run.The text was updated successfully, but these errors were encountered: