Skip to content

Latest commit

 

History

History
 
 

05-unit-testing

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Unit Testing

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.


Running Tests in VSCode

guide video

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.