Test Driven Development | Assertions

Test Driven Development using: assert module, Mocha (code runner) & nyc (code coverage)
https://www.w3schools.com/nodejs/ref_assert.asp
https://devhints.io/chai
Identical tests for Assert and Chai
Some useful Chai assertions

--

--

--

Full-Stack Web Developer | www.jordaneckowitz.com

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jordan Eckowitz

Jordan Eckowitz

Full-Stack Web Developer | www.jordaneckowitz.com

More from Medium

UK Net Salary Calculator JSON APIs free — in Javascript

I will convert psd, xd, figma, sketch to html css bootstrap

How to start with TDD

Managing node using nvm