run all mocha test once code example
Example 1: mocha timeout
describe("testing promises", function () {
this.timeout(5000);
});
Example 2: mocha test cases in node js example
$ npm install --save mocha chai
describe("testing promises", function () {
this.timeout(5000);
});
$ npm install --save mocha chai