i'm trying to figure out why this test runs twice:
it ( "should verify file exists with a one name filename ", function ( done ){
var fileNameOneChar = "/Users/myusername/t.mp3";
console.log(" the file path ", fileNameOneChar );
expect( myApi.fileExists( fileNameOneChar ) ).to.be( true );
done();
});
the test runs twice in a row, (although its only defined once) the first time it passes (which is okay, that file actually exists and the api is working fine), the second time it fails with an error : "Error: timeout of 5000ms exceeded" .
WHy does the test runs twice ? i have looked everywhere foe the time out error for a while now, havent found anything on Mocha.