Introduction to Mocha Testing Framework by@kshirish

Introduction to Mocha Testing Framework

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

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.
featured image - Introduction to Mocha Testing Framework
k HackerNoon profile picture

@kshirish

k


Receive Stories from @kshirish

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa