-
Notifications
You must be signed in to change notification settings - Fork 628
test: update vitest config to include browser tests #6818
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
|
size-limit report 📦
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the Vitest configuration to include browser tests with the .ts
extension and adds a Select component to the styled-react package. The main purpose is to ensure that browser test configurations using TypeScript are properly included in the test runner configuration.
Key changes:
- Updated the root Vitest config to include
vitest.config.browser.ts
files alongside existing.mts
browser config files - Added a name identifier to the styled-react Vitest config for better test organization
- Added a Select component wrapper to the styled-react package that integrates with the Box styling system
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
vitest.config.mts | Updated project patterns to include browser test configs with .ts extension |
packages/styled-react/vitest.config.ts | Added test name identifier for better test organization |
packages/styled-react/src/index.tsx | Added Select component wrapper and updated exports |
Update our vitest config to include browser tests with the
.ts
extensionChangelog
New
Changed
.ts
extensionRemoved
Rollout strategy