Testing a basic Vue app
In the previous chapter, we created a Pinterest application using Strapi for the backend and Vue 3 for the frontend.
Also, we added internationalization, structured the project, implemented unit and integration testing, and built a complete Pinterest clone. In this section, we will continue by using the official project we created for this book to set up integration testing to make up a full-blown enterprise-ready Pinterest clone application.
You can clone the project from the GitHub link mentioned in the Technical requirements section.
In this chapter, we will explore more advanced ways of implementing integration testing within the Pinterest clone application we use throughout this book.
Writing a basic integration test
First, we will start by installing the new testing library for Vue 3. Since we are using Vite in the project, we will also install the Vitest library for our test runner. You can read more about the new Vue 3 test library at...