---
title: "@vue/test-utils 2.6.0 Breaking Changes on npm | Since.dev"
description: "What each @vue/test-utils release removed, renamed or changed: 41 breaking changes in 11 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@vue/test-utils
last_updated: 2026-12-04
---

# @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

Latest version `2.6.0`, released November 15, 2026. [Source repository](https://github.com/vuejs/test-utils)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [2.0.0](#v-2-0-0) to [2.6.0](#v-2-6-0): 5 breaking changes in 1 version.

## @vue/test-utils 2.6.0 breaking changes

@vue/test-utils 2.6.0, released November 15, 2026: 5 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](https://github.com/vuejs/test-utils/releases/tag/v2.6.0)
- **Signature changed** `DOMWrapper.getRootNodes`  

Was getRootNodes(): any\[\]; now getRootNodes(): Node\[\]. [npmjs.com](https://www.npmjs.com/package/@vue/test-utils/v/2.6.0)
- **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](https://www.npmjs.com/package/@vue/test-utils/v/2.6.0)
- **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](https://www.npmjs.com/package/@vue/test-utils/v/2.6.0)
- **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](https://www.npmjs.com/package/@vue/test-utils/v/2.6.0)

## @vue/test-utils 2.0.0 breaking changes

@vue/test-utils 2.0.0, released May 20, 2022: 24 breaking changes.

- **Removed** `BaseWrapper`  

BaseWrapper was removed in @vue/test-utils 2.0.0 [npmjs.com](https://www.npmjs.com/package/@vue/test-utils/v/2.0.0)
- **Removed** `createLocalVue`  

createLocalVue was removed in @vue/test-utils 2.0.0 [npmjs.com](https://www.npmjs.com/package/@vue/test-utils/v/2.0.0)
- **Removed** `createWrapper`  

createWrapper was removed in @vue/test-utils 2.0.0 [npmjs.com](https://www.npmjs.com/package/@vue/test-utils/v/2.0.0)
- **Removed** `DefaultProps`  

DefaultProps was removed in @vue/test-utils 2.0.0 [npmjs.com](https://www.npmjs.com/package/@vue/test-utils/v/2.0.0)
- **Removed** `enableAutoDestroy`  

enableAutoDestroy was removed in @vue/test-utils 2.0.0 [npmjs.com](https://www.npmjs.com/package/@vue/test-utils/v/2.0.0)
- **Removed** `FunctionalComponentMountOptions`  

FunctionalComponentMountOptions was removed in @vue/test-utils 2.0.0 [npmjs.com](https://www.npmjs.com/package/@vue/test-utils/v/2.0.0)
- **Removed** `FunctionalComponentShallowMountOptions`  

FunctionalComponentShallowMountOptions was removed in @vue/test-utils 2.0.0 [npmjs.com](https://www.npmjs.com/package/@vue/test-utils/v/2.0.0)
- **Removed** `MountOptions`  

MountOptions was removed in @vue/test-utils 2.0.0 [npmjs.com](https://www.npmjs.com/package/@vue/test-utils/v/2.0.0)
- **Removed** `NameSelector`  

NameSelector was removed in @vue/test-utils 2.0.0 [npmjs.com](https://www.npmjs.com/package/@vue/test-utils/v/2.0.0)
- **Removed** `RefSelector`  

RefSelector was removed in @vue/test-utils 2.0.0 [npmjs.com](https://www.npmjs.com/package/@vue/test-utils/v/2.0.0)

And 14 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @vue/test-utils 2.0.0-rc.17 breaking changes

@vue/test-utils 2.0.0-rc.17, released May 20, 2022: 2 breaking changes.

- **Behavior changed**  

Components with setup script and no name now get a default name, which can change shallowMount snapshots. [github.com](https://github.com/vuejs/test-utils/releases/tag/v2.0.0-rc.17)
- **Signature changed** `DOMWrapper`  

DOMWrapper takes the VueWrapper it is contained within as a required second argument. [github.com](https://github.com/vuejs/test-utils/releases/tag/v2.0.0-rc.17)

## @vue/test-utils 2.0.0-rc.15 breaking changes

@vue/test-utils 2.0.0-rc.15, released May 20, 2022: 1 breaking change.

- **Behavior changed** `wrapper.vm`  

Exposes everything on wrapper.vm in @vue/test-utils 2.0.0-rc.15 [github.com](https://github.com/vuejs/test-utils/releases/tag/v2.0.0-rc.15)

## @vue/test-utils 2.0.0-rc.13 breaking changes

@vue/test-utils 2.0.0-rc.13, released May 20, 2022: 1 breaking change.

- **Removed** `findComponent`  

findComponent can no longer take a DOM selector; use findComponent or getComponent with a component instead. [github.com](https://github.com/vuejs/test-utils/releases/tag/v2.0.0-rc.13)

## @vue/test-utils 2.0.0-rc.5 breaking changes

@vue/test-utils 2.0.0-rc.5, released May 20, 2022: 2 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](https://github.com/vuejs/test-utils/releases/tag/v2.0.0-rc.5)
- **Behavior changed** `data`  

Data mounting option made reactive in @vue/test-utils 2.0.0-rc.5 [github.com](https://github.com/vuejs/test-utils/releases/tag/v2.0.0-rc.5)

## Older versions

5 older versions.

### @vue/test-utils 2.0.0-rc.2 breaking changes

@vue/test-utils 2.0.0-rc.2, released May 20, 2022: 1 breaking change.

- **Behavior changed** `unmount`  

The unmount method no longer accepts an argument, matching newer vue-next. [github.com](https://github.com/vuejs/test-utils/releases/tag/v2.0.0-rc.2)

### @vue/test-utils 2.0.0-beta.5 breaking changes

@vue/test-utils 2.0.0-beta.5, released May 20, 2022: 1 breaking change.

- **Signature changed** `mount`  

Support for the propsData mounting option was added as deprecated for migration purposes; users should move to props. [npmjs.com](https://www.npmjs.com/package/@vue/test-utils/v/2.0.0)

### @vue/test-utils 2.0.0-alpha-2 breaking changes

@vue/test-utils 2.0.0-alpha-2, released May 20, 2022: 2 breaking changes.

- **Removed** `globals`  

Stubs and mocks options moved from a globals key; use the global mounting option instead. [github.com](https://github.com/vuejs/test-utils/releases/tag/2.0.0-alpha-2)
- **Renamed** `destroy`  

The destroy method from VTU beta was renamed to unmount to match the Vue 3 API. [github.com](https://github.com/vuejs/test-utils/releases/tag/2.0.0-alpha-2)

### @vue/test-utils 2.0.0-alpha.4 breaking changes

@vue/test-utils 2.0.0-alpha.4, released May 20, 2022: 1 breaking change.

- **Signature changed** `shallowMount`  

The shallowMount function is still exported but the shallow mounting option is recommended instead. [npmjs.com](https://www.npmjs.com/package/@vue/test-utils/v/2.0.0)

### @vue/test-utils 2.0.0-alpha.3 breaking changes

@vue/test-utils 2.0.0-alpha.3, released May 20, 2022: 1 breaking change.

- **Removed** `getComponent`  

getComponent note about Suspense children in @vue/test-utils 2.0.0-alpha.3 [github.com](https://github.com/vuejs/test-utils/releases/tag/2.0.0-alpha.3)

## Related packages

- [@vue/cli-plugin-babel](https://since.dev/packages/npm/@vue/cli-plugin-babel.md)
- [@vue/cli-plugin-eslint](https://since.dev/packages/npm/@vue/cli-plugin-eslint.md)
- [@vue/cli-service](https://since.dev/packages/npm/@vue/cli-service.md)
- [@vue/compiler-sfc](https://since.dev/packages/npm/@vue/compiler-sfc.md)
- [@vue/eslint-config-prettier](https://since.dev/packages/npm/@vue/eslint-config-prettier.md)
- [@vue/eslint-config-typescript](https://since.dev/packages/npm/@vue/eslint-config-typescript.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
