In this video I'm showing how I'm testing a composable(used for users registration) using Vitest. My composable returns one method for registration and three reactive variables. I'm using Axios for HTTP requests and therefore I'm using a mock for Axios.
Category
🦄
Creativity