Skip to main content

All Questions

5 votes
0 answers
683 views

How to unit test a vue script setup component?

We want to use vue composition api using the script setup in our company. How would one write unit tests for a script setup component? We're using Vue 2.7.14 and vitest if that matters.
Lucas Venturini's user avatar