Revert "chore(deps-dev): bump the vitest group with 4 updates"#7678
Conversation
This reverts commit dda8526.
|
|
There was a problem hiding this comment.
Pull request overview
This PR reverts #7378, rolling back the recent Vitest-related dev dependency upgrades and restoring the prior test setup expectations in @primer/react.
Changes:
- Downgrades
vitest,@vitest/browser,@vitest/browser-playwright, and@vitest/eslint-pluginback to the previously pinned versions. - Reverts
TreeViewbrowser test timer configuration back tovi.useFakeTimers()defaults. - Updates
package-lock.jsonto reflect the reverted dependency graph.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/react/src/TreeView/TreeView.test.tsx | Restores the prior fake-timers setup used by the TreeView browser-mode tests. |
| package.json | Reverts Vitest-related devDependency versions back to the pre-#7378 state. |
| package-lock.json | Aligns the lockfile with the reverted dependency versions and transitive deps. |
You can also share your feedback on Copilot code review. Take the survey.
| vi.useFakeTimers() | ||
|
|
Reverts #7378