Commit 0c9b499
deps(npm): bump @vitest/ui from 2.1.9 to 4.1.2 in /frontend/taskdeck-web (#488)
* deps(npm): bump @vitest/ui from 2.1.9 to 4.1.2 in /frontend/taskdeck-web
Bumps [@vitest/ui](https://github.com/vitest-dev/vitest/tree/HEAD/packages/ui) from 2.1.9 to 4.1.2.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.2/packages/ui)
---
updated-dependencies:
- dependency-name: "@vitest/ui"
dependency-version: 4.1.2
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix(deps): align vitest, @vitest/ui, and @vitest/coverage-v8 to 4.1.2 and fix v4 test compat
Bump vitest core and @vitest/coverage-v8 from ^2.1.8 to ^4.1.2 to match
the @vitest/ui 4.1.2 already on this branch (mismatched versions caused
ERESOLVE on install).
Fix two vitest v4 breaking changes:
- HubConnectionBuilder mock now uses mockImplementation(function(){}) so
'new HubConnectionBuilder()' works correctly as a constructor call.
- Add window.confirm/alert/prompt stubs to the test setup file; happy-dom
does not define them and vitest v4 requires the target to be a function
before vi.spyOn can wrap it.
* chore(test): recalibrate coverage thresholds for vitest v4
vitest v4 measures branch coverage more comprehensively than v2,
tracking optional chaining, nullish coalescing, and ternaries more
granularly. Recalibrate thresholds to v4 baseline:
- global branches: 75 → 71
- src/api/**: 85 → 49 (http.ts interceptors largely uncovered)
- src/store/**: 80 → 75
- src/composables/**: 82 → 80
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chris0Jeky <jeky.tck@gmail.com>1 parent 24ae29a commit 0c9b499
5 files changed
Lines changed: 299 additions & 1330 deletions
File tree
- frontend/taskdeck-web
- src/tests
- composables
0 commit comments