course

Unit testing Vuex

Using Karma and Mocha to fully test Vuex actions, mutations and getters. We'll also look at injecting and mocking API calls.

Watch this course

1. Introduction

00:44

2. Development setup

06:00

3. Basic getter and mutation tests

13:16

4. More on getters and mutations

08:36

5. Store task action

08:23

6. Testing actions

06:36

7. Mocking API calls and Axios

12:29

8. Flash message TDD

11:13

9. Testing dispatching actions

05:59

10. Task getter tests

06:30