Introduction to Mocha Testing Framework
Too Long; Didn't Read
npm install --save-dev mocha.const assert = require('assert');.require('assert') describe('#indexOf()', function() {.describe('Array')); describe('SetTimeOut', function('why everyone is scared of me')); // here timeout might give error, since default timeout is 2 sec. // flag --timeout 13000 or --delay 13,000 or this.timeout(13000) // programatically - this. timeout(13,000) is set to 13,500.