Skip to content

Conversation

joshblack
Copy link
Member

@joshblack joshblack commented Sep 9, 2025

Update our vitest config to include browser tests with the .ts extension

Changelog

New

Changed

  • Update our vitest config to include browser tests with the .ts extension

Removed

Rollout strategy

  • None; if selected, include a brief description as to why

Copy link

changeset-bot bot commented Sep 9, 2025

⚠️ No Changeset found

Latest commit: 4ce8516

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the staff Author is a staff member label Sep 9, 2025
@joshblack joshblack added the skip changeset This change does not need a changelog label Sep 9, 2025
Copy link
Contributor

github-actions bot commented Sep 9, 2025

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 89.49 KB (0%)
packages/react/dist/browser.umd.js 89.5 KB (0%)

@github-actions github-actions bot temporarily deployed to storybook-preview-6818 September 9, 2025 21:05 Inactive
@joshblack joshblack marked this pull request as ready for review September 10, 2025 15:14
@Copilot Copilot AI review requested due to automatic review settings September 10, 2025 15:14
@joshblack joshblack requested a review from a team as a code owner September 10, 2025 15:14
Copy link
Contributor

@Copilot Copilot AI left a 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

@joshblack joshblack added this pull request to the merge queue Sep 11, 2025
@github-actions github-actions bot temporarily deployed to storybook-preview-6818 September 11, 2025 21:30 Inactive
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Sep 11, 2025
@github-actions github-actions bot requested a deployment to storybook-preview-6818 September 12, 2025 15:27 Abandoned
@joshblack joshblack enabled auto-merge September 12, 2025 15:27
@joshblack joshblack added this pull request to the merge queue Sep 12, 2025
Merged via the queue into main with commit 57de5e7 Sep 12, 2025
43 checks passed
@joshblack joshblack deleted the test/update-test-config branch September 12, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip changeset This change does not need a changelog staff Author is a staff member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants