Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

A “Wordle” on Test Driven Development in Vue.js

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Defining the rules for Word of the day

Vitest offers a variety of resources for us to use while writing our tests, included among these are Mocks and Spies. In this episode, we will understand when and why we would use these tools.

Topics covered:

  • Vitest mocks
  • Vitest spies
  • Vitest describe.each()
  • Importing JSON files
  • Vue Validation