chore(deps): update devdependency @vue/test-utils to v2 (v0)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @vue/test-utils | ^1.3.0 -> ^2.1.0 |
Release Notes
vuejs/test-utils
v2.1.0
What's Changed
Fixes
- fix: keep Date objects on setData by @freakzlike in https://github.com/vuejs/test-utils/pull/1720
- fix: Make wrapper.find() enable to find ref in v-for directive by @hiromi2424 in https://github.com/vuejs/test-utils/pull/1723
- fix: duplicate results on findAllComponents with non-function slots by @freakzlike in https://github.com/vuejs/test-utils/pull/1736
- fix: coverage now needs @vitest/coverage-c8 by @cexbrayat in https://github.com/vuejs/test-utils/pull/1745
- fix: return the correct name when stubbing a
script setupcomponent by @joeyhuang0235 in https://github.com/vuejs/test-utils/pull/1783 - fix: Add props to stubs for built-in components by @wolfgangwalther in https://github.com/vuejs/test-utils/pull/1767
Other
- refactor: stubs types by @cexbrayat in https://github.com/vuejs/test-utils/pull/1773
- refactor: remove useless params in emits handling by @cexbrayat in https://github.com/vuejs/test-utils/pull/1777
- test: migrate to vitest by @okxiaoliang4 in https://github.com/vuejs/test-utils/pull/1637
Chore
- chore: remove babel dependencies and config by @cexbrayat in https://github.com/vuejs/test-utils/pull/1642
- chore: lockfile maintenance by @cexbrayat in https://github.com/vuejs/test-utils/pull/1643
- chore: switch to pnpm by @cexbrayat in https://github.com/vuejs/test-utils/pull/1644
- chore: configure renovate to group vite packages by @cexbrayat in https://github.com/vuejs/test-utils/pull/1685
- docs: update installation docs by @ryandialpad in https://github.com/vuejs/test-utils/pull/1693
- chore: use es2016 as a TS target by @cexbrayat in https://github.com/vuejs/test-utils/pull/1695
- chore: Update README since package manager was changed from yarn to npnm by @hiromi2424 in https://github.com/vuejs/test-utils/pull/1724
-
- chore: refactor and remove old files by @lmiller1990 in https://github.com/vuejs/test-utils/pull/1776
- chore: Add version info to bug report template by @freakzlike in https://github.com/vuejs/test-utils/pull/1729
- chore: Extend expose tests with not used function by @freakzlike in https://github.com/vuejs/test-utils/pull/1735
- chore: improve type for stub cache by @cexbrayat in https://github.com/vuejs/test-utils/pull/1743
- chore: improve type for mount with TS v4.8 by @cexbrayat in https://github.com/vuejs/test-utils/pull/1744
- chore: run tests in random order by @cexbrayat in https://github.com/vuejs/test-utils/pull/1747
New Contributors
- @ryandialpad made their first contribution in https://github.com/vuejs/test-utils/pull/1693
- @hiromi2424 made their first contribution in https://github.com/vuejs/test-utils/pull/1724
- @wolfgangwalther made their first contribution in https://github.com/vuejs/test-utils/pull/1767
- @joeyhuang0235 made their first contribution in https://github.com/vuejs/test-utils/pull/1783
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.0.2...v2.1.0
v2.0.2
What's Changed
Fixes
- fix: fix typo by @liuzhuan in https://github.com/vuejs/test-utils/pull/1608
- fix: check if component unmounted in Wrapper.exists() by @Djaler in https://github.com/vuejs/test-utils/pull/1629
- fix: algolia appId by @okxiaoliang4 in https://github.com/vuejs/test-utils/pull/1636
Docs
- docs: Documentation Update (Issue 1632) by @N8ers in https://github.com/vuejs/test-utils/pull/1635
Chore/Other
- chore(types): improve typing of emitted by @xanf in https://github.com/vuejs/test-utils/pull/1640
- repro: type-checking issue with script setup in v2.0.1 by @cexbrayat in https://github.com/vuejs/test-utils/pull/1601
New Contributors
- @liuzhuan made their first contribution in https://github.com/vuejs/test-utils/pull/1608
- @Djaler made their first contribution in https://github.com/vuejs/test-utils/pull/1629
- @N8ers made their first contribution in https://github.com/vuejs/test-utils/pull/1635
- @okxiaoliang4 made their first contribution in https://github.com/vuejs/test-utils/pull/1636
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.0.1...v2.0.2
v2.0.1
Test Utils is quite stable now, so most of the changes here are minor fixes.
The next "big ticket" feature will be SSR support. You can track it here: https://github.com/vuejs/test-utils/pull/1572
Fixes
- fix(compat): declare RouterLinkStub as compatibility mode 3 by @snoozbuster in https://github.com/vuejs/test-utils/pull/1549
- fix(types): Export BaseWrapper from index.ts by @snoozbuster in https://github.com/vuejs/test-utils/pull/1548
- fix: export package.json from module by @snoozbuster in https://github.com/vuejs/test-utils/pull/1542
- fix(utils): getRootNodes flattens only one depth of children by @cexbrayat in https://github.com/vuejs/test-utils/pull/1546
- fix(compat): respect v-model in vue 2 with compat build by @snoozbuster in https://github.com/vuejs/test-utils/pull/1565
Chores/Dependencies
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.27.0 to 5.27.1 by @dependabot in https://github.com/vuejs/test-utils/pull/1583
- chore: add return type to createStub by @cexbrayat in https://github.com/vuejs/test-utils/pull/1544
- chore: lockfile maintenance by @cexbrayat in https://github.com/vuejs/test-utils/pull/1543
- chore(deps-dev): bump @vue/compiler-sfc from 3.2.34 to 3.2.36 by @dependabot in https://github.com/vuejs/test-utils/pull/1527
- chore: bump vue to v3.2.26 by @cexbrayat in https://github.com/vuejs/test-utils/pull/1545
- chore(deps-dev): bump vue-tsc from 0.34.15 to 0.34.16 by @dependabot in https://github.com/vuejs/test-utils/pull/1532
- chore(deps-dev): bump rollup from 2.74.1 to 2.75.5 by @dependabot in https://github.com/vuejs/test-utils/pull/1564
- chore(deps-dev): bump lint-staged from 12.4.2 to 13.0.0 by @dependabot in https://github.com/vuejs/test-utils/pull/1563
- chore(deps-dev): bump @types/node from 17.0.35 to 17.0.38 by @dependabot in https://github.com/vuejs/test-utils/pull/1562
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.26.0 to 5.27.0 by @dependabot in https://github.com/vuejs/test-utils/pull/1556
- chore(deps-dev): bump vue-tsc from 0.34.16 to 0.35.2 by @dependabot in https://github.com/vuejs/test-utils/pull/1555
- chore(deps-dev): bump @babel/types from 7.18.2 to 7.18.4 by @dependabot in https://github.com/vuejs/test-utils/pull/1551
- chore(deps-dev): bump @typescript-eslint/parser from 5.26.0 to 5.27.0 by @dependabot in https://github.com/vuejs/test-utils/pull/1553
- chore(deps-dev): bump rollup-plugin-typescript2 from 0.31.2 to 0.32.0 by @dependabot in https://github.com/vuejs/test-utils/pull/1566
- chore(find): extend tests with deep nested multiple roots by @freakzlike in https://github.com/vuejs/test-utils/pull/1569
- chore(deps-dev): bump @types/node from 17.0.38 to 17.0.39 by @dependabot in https://github.com/vuejs/test-utils/pull/1570
- chore(deps-dev): bump eslint from 8.16.0 to 8.17.0 by @dependabot in https://github.com/vuejs/test-utils/pull/1579
- chore(deps-dev): bump typescript from 4.6.4 to 4.7.3 by @dependabot in https://github.com/vuejs/test-utils/pull/1578
- chore(deps-dev): bump @types/node from 17.0.39 to 17.0.40 by @dependabot in https://github.com/vuejs/test-utils/pull/1576
- chore(deps-dev): bump @typescript-eslint/parser from 5.27.0 to 5.27.1 by @dependabot in https://github.com/vuejs/test-utils/pull/1582
- chore: update Vue to 3.2.37 by @lmiller1990 in https://github.com/vuejs/test-utils/pull/1585
- chore(deps-dev): bump rollup from 2.75.5 to 2.75.6 by @dependabot in https://github.com/vuejs/test-utils/pull/1586
- chore(deps-dev): bump babel-preset-jest from 28.0.2 to 28.1.1 by @dependabot in https://github.com/vuejs/test-utils/pull/1588
- chore(deps-dev): bump lint-staged from 13.0.0 to 13.0.1 by @dependabot in https://github.com/vuejs/test-utils/pull/1591
- chore(deps-dev): bump vue-router from 4.0.15 to 4.0.16 by @dependabot in https://github.com/vuejs/test-utils/pull/1593
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.27.1 to 5.28.0 by @dependabot in https://github.com/vuejs/test-utils/pull/1598
- chore(deps-dev): bump @types/node from 17.0.40 to 17.0.42 by @dependabot in https://github.com/vuejs/test-utils/pull/1594
- chore(deps-dev): bump @babel/core from 7.18.2 to 7.18.5 by @dependabot in https://github.com/vuejs/test-utils/pull/1596
- chore(deps-dev): bump @typescript-eslint/parser from 5.27.1 to 5.28.0 by @dependabot in https://github.com/vuejs/test-utils/pull/1595
- chore(deps-dev): bump rollup-plugin-typescript2 from 0.32.0 to 0.32.1 by @dependabot in https://github.com/vuejs/test-utils/pull/1587
- chore(deps-dev): bump prettier from 2.6.2 to 2.7.0 by @dependabot in https://github.com/vuejs/test-utils/pull/1600
New Contributors
- @dcrall made their first contributihttps://github.com/vuejs/test-utils/pull/1535l/1535
- @snoozbuster made their first contributihttps://github.com/vuejs/test-utils/pull/1549l/1549
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.0.0...v2.0.1
v2.0.0
This is v2.0.0. The library is quite stable and there are not major bugs.
What's Changed
- Fix/emitted events cache by @BrettLargent in https://github.com/vuejs/test-utils/pull/1449
- fix: string slot null ctx in renderFn by @braddialpad in https://github.com/vuejs/test-utils/pull/1462
- fix: wrapper.element with nested multiple roots by @freakzlike in https://github.com/vuejs/test-utils/pull/1463
- fix: fix module resolution for esm file by @sheremet-va in https://github.com/vuejs/test-utils/pull/1484
- regression: #1476 reactive prop object compare by @freakzlike in https://github.com/vuejs/test-utils/pull/1479
- fix: Pass props to functional component by @freakzlike in https://github.com/vuejs/test-utils/pull/1513
- fix(wrapper): fix wrapper.element for component with slot by @xanf in https://github.com/vuejs/test-utils/pull/1497
- fix(findComponent): allow finding top-level component by @xanf in https://github.com/vuejs/test-utils/pull/1496
- chore: bump to vue v3.2.34 by @cexbrayat in https://github.com/vuejs/test-utils/pull/1510
New Contributors
- @BrettLargent made their first contribution in https://github.com/vuejs/test-utils/pull/1449
- @braddialpad made their first contribution in https://github.com/vuejs/test-utils/pull/1462
- @sheremet-va made their first contribution in https://github.com/vuejs/test-utils/pull/1484
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.0.0-rc.21...v2.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
Codecov Report
Base: 58.73% // Head: 0.00% // Decreases project coverage by -58.73% :warning:
Coverage data is based on head (
2cfe586) compared to base (1934b35). Patch has no changes to coverable lines.
Additional details and impacted files
@@ Coverage Diff @@
## v0 #550 +/- ##
==========================================
- Coverage 58.73% 0.00% -58.74%
==========================================
Files 34 32 -2
Lines 647 635 -12
Branches 218 216 -2
==========================================
- Hits 380 0 -380
- Misses 266 630 +364
- Partials 1 5 +4
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/runtime/providers/ipx.ts | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
| src/runtime/providers/glide.ts | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
| src/runtime/providers/imgix.ts | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
| src/runtime/providers/fastly.ts | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
| src/runtime/providers/gumlet.ts | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
| src/runtime/providers/static.ts | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
| src/runtime/providers/unsplash.ts | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
| src/runtime/providers/contentful.ts | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
| src/runtime/providers/imageengine.ts | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
| src/module.ts | 0.00% <0.00%> (-89.66%) |
:arrow_down: |
| ... and 18 more |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.