Real World Testing

Lessons

1. Getting Started

1:29

2. Setup & Testing like a User

15:09

3. Mocking Vuex Stores: Part 1

9:20

4. Mocking Vuex Stores: Part 2

14:07

5. Mocking the Network with Mock Service Worker: Part 1

5:42

6. Mocking the Network with Mock Service Worker: Part 2

6:29
Notify me when new lessons are available.

Mocking Vuex Stores: Part 2

Welcome back to the forth lesson of Real World Testing. In this lesson, we’ll continue to test the EventList component that depends on Vuex.

During this lesson, we’ll achieve the following goals:

  1. Refactor our Vuex stores to be testable
  2. Mock our Vuex store’s initial state
  3. Test complex components that rely on Vue and Vuex

Let’s follow the Setup ⇒ Find ⇒ Interact ⇒ Assert f