Bumps the vue-dependencies group with 1 update in the / directory: @vue/test-utils.
Updates @vue/test-utils from 2.5.1 to 2.6.0
Release notes
Sourced from @vue/test-utils's releases.
v2.6.0
⚠️ Breaking change
Plain object and array props are no longer made deeply reactive. Tests relying on in-place mutations must wrap values in
reactive()before mounting, or pass a new value tosetProps. Passing the same mutated object tosetPropsdoes not trigger a re-render. Already-reactive props stay reactive. See #2951 and the migration guidance.What's Changed
- feat(types): infer emitted event names and payload types by
@niukanen1in vuejs/test-utils#2948- feat: add TeleportStub and support custom components as built-in stubs by
@simonyang08in vuejs/test-utils#2946- feat: add VueWrapper.emit by
@ValentinYoushkevichin vuejs/test-utils#2998- fix: keep the namespace prefix in attributes() by
@MaxFreedomPollardin vuejs/test-utils#2941- fix: store props in shallow reactive to avoid deep propagation by
@ackwellin vuejs/test-utils#2951- fix(types): infer emitted payloads for components with props by
@ValentinYoushkevichin vuejs/test-utils#2957- fix: skip global mocks mixin when mocks are empty by
@cexbrayatin vuejs/test-utils#2962- fix: record emitted events once when a devtools hook is installed by
@ValentinYoushkevichin vuejs/test-utils#2965- fix(types): accept union-typed props in mount by
@giaBaoJSin vuejs/test-utils#2967- fix: find elements and components inside multi-root functional components by
@ValentinYoushkevichin vuejs/test-utils#2971- fix(#2333): keep props from mixins and extends in stubs by
@ValentinYoushkevichin vuejs/test-utils#2963- fix: do not crash stubs on props without primitive conversion by
@ValentinYoushkevichin vuejs/test-utils#2975- fix: support attachTo on Vue versions before 3.5 by
@ValentinYoushkevichin vuejs/test-utils#2974- fix: apply global mocks named after internal instance fields by
@ValentinYoushkevichin vuejs/test-utils#2977- fix: clear events emitted during unmount from the emitted history by
@ondrhnin vuejs/test-utils#2985- fix: findComponent by selector on a functional root component by
@ValentinYoushkevichin vuejs/test-utils#2978- fix: keep Map and Set values in setData by
@mkantautasin vuejs/test-utils#2980- fix: stub directives registered with a camelCase or kebab-case name by
@MaxFreedomPollardin vuejs/test-utils#2982- fix: use Vite mode to select the built package for tests by
@cexbrayatin vuejs/test-utils#2995- fix: update the content of a teleport stubbed with a component by
@ValentinYoushkevichin vuejs/test-utils#2993- fix: do not crash findComponent if ref points to an svg element by
@NgoQuocViet2001in vuejs/test-utils#2983- fix(stubs): skip component name lookups on re-render by
@ondrhnin vuejs/test-utils#2987- fix(types): keep VueWrapper for findComponent with an any-typed selector by
@ondrhnin vuejs/test-utils#2973- fix(#2541): stub globally registered components by their registration key by
@ValentinYoushkevichin vuejs/test-utils#2996- fix: only apply stubs to the app being rendered by
@ValentinYoushkevichin vuejs/test-utils#2997- fix: infer resolved types for defaulted wrapper props by
@mvanhornin vuejs/test-utils#3003- fix: render slots passed to a stubbed teleport or keep-alive by
@ValentinYoushkevichin vuejs/test-utils#3013- fix(#2135): do not warn when mounting option slots are called outside render by
@ValentinYoushkevichin vuejs/test-utils#3014New Contributors
@MaxFreedomPollardmade their first contribution in vuejs/test-utils#2941@niukanen1made their first contribution in vuejs/test-utils#2948@ackwellmade their first contribution in vuejs/test-utils#2951@ValentinYoushkevichmade their first contribution in vuejs/test-utils#2957@Glandosmade their first contribution in vuejs/test-utils#2962@giaBaoJSmade their first contribution in vuejs/test-utils#2967@ondrhnmade their first contribution in vuejs/test-utils#2985@mkantautasmade their first contribution in vuejs/test-utils#2980@NgoQuocViet2001made their first contribution in vuejs/test-utils#2983@SuperDJmade their first contribution in vuejs/test-utils#3010Full Changelog: https://github.com/vuejs/test-utils/compare/v2.5.1...v2.6.0
Commits
9f2a994chore: release v2.6.0565c887docs(api): note that object props are not made reactive0eaab9ctest: include TSX tests in both Vitest projects5fa9d14test: remove obsolete hydration todo242104dtest: run built artifacts in Browser Mode088b067test: disable browser failure screenshotse4211catest: run mounting tests in Vitest Browser Mode5e449c8chore: group Playwright package and image updatesc5d8b19test: enable compat tests in Browser Mode67250e2ci: run browser tests in a standalone job- Additional commits viewable in compare view
Activity
8Current Aviator status
Aviator will automatically update this comment as the status of the PR changes. Comment
/aviator refreshto force Aviator to re-examine your PR (or learn about other/aviatorcommands).
This pull request is currently open (not queued).
How to merge
To merge this PR, comment /aviator merge or add the mergequeue label.
PR author is in the excluded authors list.
:white_check_mark: Snyk checks have passed. No issues have been found so far.
| Status | Scan Engine | Critical | High | Medium | Low | Total (0) |
|---|---|---|---|---|---|---|
| :white_check_mark: | Open Source Security | 0 | 0 | 0 | 0 | 0 issues |
:computer: Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Tick the box to add this pull request to the merge queue (same as @mergifyio queue). If it does not match the queue conditions yet, it enters the queue once it does.
- Queue this pull request once it meets the queue conditions
Up to standards :white_check_mark:
🟢 Issues 0 issues
Results:
0new issues
🟢 Metrics 0 complexity · 0 duplication
Metric Results Complexity 0 Duplication 0
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Labels
The following labels could not be found:
javascript. Please create it before Dependabot can add it to a pull request.Please fix the above issues or remove invalid values from
dependabot.yml.