@vue/test-utils breaking changes
@vue/test-utils 2.6.0 (November 15, 2026) is its newest release with breaking changes, 5 of them. The first: Plain object and array props are no longer made deeply reactive in @vue/test-utils 2.6.0. Every breaking API change we have recorded in @vue/test-utils on npm: 41 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.6.0, released November 15, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@vue/test-utils 2.6.0 breaking changes
- Behavior changed
Tests that mutate plain object or array props in place must wrap values in reactive() before mounting, or pass a new value to setProps. Already-reactive props stay reactive. github.com - Signature changed
DOMWrapper.getRootNodes
Was getRootNodes(): any[]; now getRootNodes(): Node[]. npmjs.com - Signature changed
mount
Was function mount<T, C = T extends ((...args: any) => any) | (new (...args: any) => any) ? T : T extends {props?: infer Props;} ? DefineComponent<Props extends Readonly<(infer PropNames)[]> | (infer PropNames)[] ? {[key in PropNames... npmjs.com - Signature changed
VueWrapper.emitted
Was emitted<T = unknown>(): Record<string, T[]> emitted<T = unknown[]>(eventName: string): undefined | T[]; now emitted<N extends EmittedEventName<T>>(eventName: N): undefined | EmittedArgs<T, N>[] emitted<T2 = unknown>(): Record<string... npmjs.com - Signature changed
VueWrapper.props
Was props(): T['$props'] props<Selector extends keyof T['$props']>(selector: Selector): T['$props'][Selector]; now props(): ResolvedProps<T> props<Selector extends keyof ResolvedProps<T>>(selector: Selector): ResolvedProps<T>[Selector]. npmjs.com
@vue/test-utils 2.0.0 breaking changes
- Removed
BaseWrapper
BaseWrapper was removed in @vue/test-utils 2.0.0 npmjs.com - Removed
createLocalVue
createLocalVue was removed in @vue/test-utils 2.0.0 npmjs.com - Removed
createWrapper
createWrapper was removed in @vue/test-utils 2.0.0 npmjs.com - Removed
DefaultProps
DefaultProps was removed in @vue/test-utils 2.0.0 npmjs.com - Removed
enableAutoDestroy
enableAutoDestroy was removed in @vue/test-utils 2.0.0 npmjs.com - Removed
FunctionalComponentMountOptions
FunctionalComponentMountOptions was removed in @vue/test-utils 2.0.0 npmjs.com - Removed
FunctionalComponentShallowMountOptions
FunctionalComponentShallowMountOptions was removed in @vue/test-utils 2.0.0 npmjs.com - Removed
MountOptions
MountOptions was removed in @vue/test-utils 2.0.0 npmjs.com - Removed
NameSelector
NameSelector was removed in @vue/test-utils 2.0.0 npmjs.com - Removed
RefSelector
RefSelector was removed in @vue/test-utils 2.0.0 npmjs.com
And 14 more in this version. Sign up to see every change
@vue/test-utils 2.0.0-rc.17 breaking changes
- Behavior changed
Components with setup script and no name now get a default name, which can change shallowMount snapshots. github.com - Signature changed
DOMWrapper
DOMWrapper takes the VueWrapper it is contained within as a required second argument. github.com
@vue/test-utils 2.0.0-rc.15 breaking changes
- Behavior changed
wrapper.vm
Exposes everything on wrapper.vm in @vue/test-utils 2.0.0-rc.15 github.com
@vue/test-utils 2.0.0-rc.13 breaking changes
- Removed
findComponent
findComponent can no longer take a DOM selector; use findComponent or getComponent with a component instead. github.com
@vue/test-utils 2.0.0-rc.5 breaking changes
- Behavior changed
Props for v-model are no longer automatically updated in sync; tests relying on that sync must set props explicitly. github.com - Behavior changed
data
Data mounting option made reactive in @vue/test-utils 2.0.0-rc.5 github.com
Older versions
5 older versions.
Show 5 older versions
@vue/test-utils 2.0.0-rc.2 breaking changes
- Behavior changed
unmount
The unmount method no longer accepts an argument, matching newer vue-next. github.com
@vue/test-utils 2.0.0-beta.5 breaking changes
- Signature changed
mount
Support for the propsData mounting option was added as deprecated for migration purposes; users should move to props. npmjs.com
@vue/test-utils 2.0.0-alpha-2 breaking changes
- Removed
globals
Stubs and mocks options moved from a globals key; use the global mounting option instead. github.com - Renamed
destroy
The destroy method from VTU beta was renamed to unmount to match the Vue 3 API. github.com
@vue/test-utils 2.0.0-alpha.4 breaking changes
- Signature changed
shallowMount
The shallowMount function is still exported but the shallow mounting option is recommended instead. npmjs.com
@vue/test-utils 2.0.0-alpha.3 breaking changes
- Removed
getComponent
getComponent note about Suspense children in @vue/test-utils 2.0.0-alpha.3 github.com
Related packages
- @vue/cli-plugin-babel
- @vue/cli-plugin-eslint
- @vue/cli-service
- @vue/compiler-sfc
- @vue/eslint-config-prettier
- @vue/eslint-config-typescript
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.