Learn how to read, write and run unit tests to describe and verify your
functions' behavior. You will focus on the Behavior-Driven Development
convention of using describe
, it
, and expect(__).toEqual(__)
.
Exercises include writing tests for a working function, and writing functions to pass a given test suite.
If you want to, you can run all of the tests in this repo using this NPM script:
npm run test -- ./path/to/file.test.js
Check out the guides in this folder to learn more about using the VSCode debugger.