Add passWithNoTests to vitest configurations#297
Merged
hotlong merged 2 commits intocopilot/fix-issue-in-object-uifrom Jan 31, 2026
Merged
Add passWithNoTests to vitest configurations#297hotlong merged 2 commits intocopilot/fix-issue-in-object-uifrom
hotlong merged 2 commits intocopilot/fix-issue-in-object-uifrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Add passWithNoTests: true to all vitest configurations to allow packages without test files to pass CI. This affects: - Root vitest.config.mts - All package-level vite.config.ts files with test sections Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Check success of workflow execution
Add passWithNoTests to vitest configurations
Jan 31, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request addresses CI failures caused by Vitest exiting with code 1 when no test files are found. The solution adds passWithNoTests: true configuration to prevent test failures in packages that have test scripts but no actual tests yet.
Changes:
- Added
passWithNoTests: trueto the rootvitest.config.mtsfile - Added test sections with
passWithNoTests: trueto 17 package-levelvite.config.tsfiles
Reviewed changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| vitest.config.mts | Added passWithNoTests: true to root test configuration |
| packages/components/vite.config.ts | Added passWithNoTests: true to existing test section |
| packages/fields/vite.config.ts | Added passWithNoTests: true to existing test section |
| packages/layout/vite.config.ts | Created test section with passWithNoTests: true |
| packages/plugin-aggrid/vite.config.ts | Created test section with passWithNoTests: true |
| packages/plugin-calendar/vite.config.ts | Created test section with passWithNoTests: true |
| packages/plugin-charts/vite.config.ts | Created test section with passWithNoTests: true |
| packages/plugin-chatbot/vite.config.ts | Created test section with passWithNoTests: true |
| packages/plugin-dashboard/vite.config.ts | Created test section with passWithNoTests: true |
| packages/plugin-editor/vite.config.ts | Created test section with passWithNoTests: true |
| packages/plugin-form/vite.config.ts | Created test section with passWithNoTests: true |
| packages/plugin-gantt/vite.config.ts | Created test section with passWithNoTests: true |
| packages/plugin-grid/vite.config.ts | Created test section with passWithNoTests: true |
| packages/plugin-kanban/vite.config.ts | Created test section with passWithNoTests: true |
| packages/plugin-map/vite.config.ts | Created test section with passWithNoTests: true |
| packages/plugin-markdown/vite.config.ts | Created test section with passWithNoTests: true |
| packages/plugin-timeline/vite.config.ts | Created test section with passWithNoTests: true |
| packages/plugin-view/vite.config.ts | Created test section with passWithNoTests: true |
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.
Vitest exits with code 1 when no test files are found, failing CI for 10+ packages that have test scripts but no tests yet (create-plugin, plugin-calendar, plugin-chatbot, etc.).
Changes
passWithNoTests: trueto rootvitest.config.mtspassWithNoTests: trueto 17 package-levelvite.config.tsfilesPackages without their own vite.config.ts already inherit from root config. Packages with vite.config.ts needed explicit test sections since vite config takes precedence over vitest config.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.