-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
test: migrate to Vitest inline projects #13537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThe changes consolidate Vitest test configurations by deleting separate config files for unit and e2e tests and moving to a single, project-based configuration in Changes
Sequence Diagram(s)sequenceDiagram
participant Dev as Developer
participant VitestConfig as vitest.config.ts
participant Vitest as Vitest Runner
Dev->>VitestConfig: Run test script (unit*, e2e)
VitestConfig->>Vitest: Provide projects array (unit, unit-jsdom, e2e)
Vitest->>Vitest: Select matching project config
Vitest->>Dev: Execute tests with appropriate environment/settings
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
💤 Files with no reviewable changes (3)
⏰ Context from checks skipped due to timeout of 90000ms (3)
🔇 Additional comments (4)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Thanks for this PR. but we already made these changes in the vapor branch (will be merge into main soon) |
Perfect, thanks! Also make sure to replace the |
Currently Vitest Ecosystem CI is failing for Vue. That's running
4.beta
releases which removed these deprecated APIs. With these changes, Vue repo starts to pass with4.beta
.https://github.com/vitest-dev/vitest-ecosystem-ci/actions/runs/15918783572/job/44901249704
Summary by CodeRabbit