Repository navigation
[WIP] Fix failing GitHub Actions job test (react-18) - #8727
mattcosta7 with Copilot wants to merge 2 commits into
Conversation
|
Co-authored-by: mattcosta7 <8616962+mattcosta7@users.noreply.github.com>
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues for this test-only change to TreeView’s multi-character typeahead coverage.
No open issues 🎉
What changed in this PR
This test-only change aims to stabilize TreeView’s multi-character typeahead coverage after intermittent failures in the React 18 CI job.
Changes:
- Enables Vitest fake timers before rendering the test, removing reliance on real-time timer behavior.
- Leaves production code unchanged.
| File | Description |
|---|---|
packages/react/src/TreeView/TreeView.test.tsx |
Enables fake timers in the multi-character typeahead test. |
Review effort: Balanced
No linked issue.
Stabilizes the TreeView multi-character typeahead test, which intermittently failed in
test (react-18), by enabling Vitest fake timers before rendering. This removes the test's dependency on real-time timer behavior.Changelog
New
Changed
Removed
Rollout strategy
Testing & Reviewing
test (react-18)and the other required checks pass.