-
Notifications
You must be signed in to change notification settings - Fork 610
test(Blankslate): add tests for Blankslate to vitest #6034
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
base: main
Are you sure you want to change the base?
Conversation
|
👋 Hi, this pull request contains changes to the source code that github/github depends on. If you are GitHub staff, we recommend testing these changes with github/github using the integration workflow. Thanks! |
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
Adds a Vitest test suite for the Blankslate component and updates test configs to include these new tests.
- Introduce a new test file for Blankslate
- Update Vitest and Jest configurations to discover Blankslate tests
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
packages/react/vitest.config.mts | Include src/Blankslate/**/*.test.* pattern in Vitest |
packages/react/src/Blankslate/Blankslate.test.tsx | Add Vitest tests for Blankslate component |
packages/react/jest.config.js | Add <rootDir>/src/Blankslate/ to Jest test paths |
Co-authored-by: Copilot <[email protected]>
size-limit report 📦
|
Noticed that we didn't have any tests yet for Blankslate so used copilot to generate some for us based on existing tests 👀
Changelog
New
Changed
Removed
Rollout strategy