Introduction to Mocha Testing Framework by@kshirish
252 reads

Introduction to Mocha Testing Framework

by k4mJune 12th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
k

k

@kshirish

Javascript Developer

About @kshirish
LEARN MORE ABOUT @KSHIRISH'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

k HackerNoon profile picture
k@kshirish
Javascript Developer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite