Vue Test Utils
Component testing utils for Vue 3.
Installation and Usage
yarn add @vue/test-utils --dev
npm install @vue/test-utils --save-dev
Get started with the documentation.
Coming from Vue 2 + Test Utils v1?
Check the migration guide. It's still a work in progress. If you find a problem or something that doesn't work that previously did in Vue Test Utils v1, please open an issue.
See the docs.
Get started by running
pnpm install. You can run the tests with
pnpm test. That's it!