Open
Conversation
🦋 Changeset detectedLatest commit: 4ff072b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
Author
|
Tests are failing even on main branch on my laptop, so I'm checking on CI if there is any failures |
There was a problem hiding this comment.
Pull request overview
This PR updates Vitest from v3 to v4, modernizing the test infrastructure and aligning with the latest Vitest APIs and configuration patterns.
Key Changes:
- Vitest and all related packages updated from v3.2.4 to v4.0.12
- Configuration migrated from deprecated
vitest.workspace.tstoprojectsoption invitest.config.ts - Package
@vitest/runneradded as new peer dependency for type definitions - Test utilities updated to use Vitest v4's assert API
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| vitest.workspace.ts | Removed in favor of inline projects configuration |
| vitest.shared.ts | Simplified by moving most config to main vitest.config.ts |
| vitest.config.ts | New centralized config file with projects array for workspace support |
| pnpm-lock.yaml | Updated all vitest-related dependencies from v3.2.4 to v4.0.12 |
| packages/vitest/src/utils.ts | Updated to use Vitest v4's assert API, removed node:assert dependency |
| packages/vitest/src/index.ts | Added @vitest/runner types import, simplified TestCollectorCallable interface |
| packages/vitest/package.json | Updated peer dependencies to vitest ^4.0.0 and added @vitest/runner ^4.0.0 |
| package.json | Updated root devDependencies for all @vitest/* packages to ^4.0.12 |
| .changeset/tiny-windows-ring.md | Documents the vitest v4 support as a minor change |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
7584d9b to
e67518d
Compare
693bd77 to
5ad7701
Compare
7922be1 to
8fa279a
Compare
6b85c7d to
fbf3000
Compare
64a3b88 to
c7e878f
Compare
c7e878f to
c881c6d
Compare
6 tasks
b60c95e to
7ef8265
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type
Description
Update and support Vitest v4
Related