Testing a Simple Nuxt Feature

Implementation of a simple version banner in a Nuxt app serves as a practical guide to learning how to write tests in Nuxt.

1 🞄How to Share Development Process?

2 🞄The All-In-One Component

3 🞄Extracting Logic into a Composable

4 🞄Mocking the composable

5 🞄Avoid Mocks With the 'Component Wrapper' Pattern

6 🞄Test the composable

7 🞄Unit Testing the Composable

8 🞄Move Dependencies to a Repository

9 🞄Bonus: Add Integration Tests