Conversation
Upgrade Vitest from v3.2.4 to v4.0.9 to leverage the latest features and bug fixes. This update includes breaking changes that required adjustments to configuration and test files. Changes: - Update vitest and @vitest/coverage-v8 to v4.0.9 in both apps and packages - Remove deprecated config options (testTransformMode, coverage.all) - Fix ResizeObserver mocks to use function declarations instead of arrow functions (vi.fn() in v4 requires 'function' or 'class' for constructor mocks) All tests pass (53 total: 32 in apps, 21 in packages)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
chore(deps): update dependencies
Note
Upgrades dependencies across the monorepo (Solid, Vite, Vitest, Playwright, TypeScript, Tailwind, Secretlint, etc.) and refines test/vite configs and mocks to match new versions.
solid-js(1.9.10),@solidjs/router(0.15.4),vite(7.2),vite-plugin-solid(2.11.10),vitest(4.x) +@vitest/coverage-v8(4.x),jsdom(27.x),msw(2.12),@playwright/test(1.56),typescript(5.9),tailwindcss(4.1.17),secretlint(11.x),@commitlint/*(20.x), and multiple ESLint plugins/configs.testTransformMode/coverageallflag, keepjsdomenv, inlinesolid-js, tidy excludes.pnpmandturbo, changesets/linters to latest; lockfile refreshed.ResizeObservermock with named constructor function.getComputedStyle().getPropertyValue()for CSS custom property assertion insolid-hiding-headertests.vitest.setup.ts.Written by Cursor Bugbot for commit dcf9e3c. This will update automatically on new commits. Configure here.