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?
4 min read -
2
The All-In-One Component
3 min read -
3
Extracting Logic into a Composable
10 min read -
4
Mocking the composable
9 min read -
5
Avoid Mocks With the 'Component Wrapper' Pattern
6 min read -
6
Test the composable
8 min read -
7
Unit Testing the Composable
8 min read -
8
Move Dependencies to a Repository
9 min read -
9
Bonus: Add Integration Tests
2 min read -