Skip to content
Projects Vue.js Projects
Vue Test Utils

Vue Test Utils

The official testing utility library for Vue 3, used to mount components and interact with them in unit tests.

11 viewsAdded Nov 15, 2026

Vue Test Utils is the official low-level library for testing Vue components. It lets you mount a component in isolation, pass props and slots, trigger DOM events, and make assertions about the rendered output and emitted events.

It does not depend on a particular test runner and works well with Vitest or Jest. Helpers cover stubbing child components, installing global plugins such as a router or store for a test, and waiting for async updates with flushPromises.

Install it as a dev dependency with npm install -D @vue/test-utils and start with the mount function in your test files.

Hoppscotch

Hoppscotch

Open source API development platform for testing REST, GraphQL, WebSocket and other APIs from the browser or desktop.

80 views

Vue.js Projects

A hand-picked collection of projects made with Vue.js: UI components, input elements, apps, plugins, examples and frameworks.

Newsletter

Get the best new Vue projects in your inbox.

© 2026 vuejsprojects.com