Lesson
Add Jest to Your Application and Create Your First Test
Jest is a fast and safe testing framework with a focus on simplicity. This lesson will walk you through how to add jest to your application by running yarn add --dev jest followed by updating your package.json to be able to run your tests on the console by...
- Duration
- 2 min
- Access
- Pro
- Transcript
- Available
Jest is a fast and safe testing framework with a focus on simplicity.
This lesson will walk you through how to add jest to your application by running yarn add --dev jest followed by updating your package.json to be able to run your tests on the console by using the yarn test script.
This lesson covers how to create your first test by creating your first block that groups several related tests with describe and then adding your first test method using either the it or test keyword.