The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Unit Testing with Mocha and Chai

Unit Testing with Mocha and Chai

3:01
Now that you've got everything set up with mocha and chai, it's time to actually write tests. In this lesson you'll learn how to use `describe` and `it` to outline your tests and make sure you don't break your library in the future.
Watch this lesson now
Avatar
egghead.io

Now that you've got everything set up with mocha and chai, it's time to actually write tests. In this lesson you'll learn how to use describe and it to outline your tests and make sure you don't break your library in the future.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?