Unit Testing Vue 3

Lessons

1. What to test

4:38

2. Writing a Unit Test with Jest

10:05

3. Testing Props & User Interaction

6:51

4. Testing Emitted Events

6:35

5. Testing API Calls

9:38

6. Stubbing Child Components

5:49

Stubbing Child Components

In the previous lesson, we looked at mocking our axios module in order to test that our component was set up to make an API call and use the data that was returned, without ever having to hit our actual sever or unnecessarily coupling