Repository navigation
chore(deps-dev): bump vitest from 3.2.6 to 4.1.11 - #946
dependabot[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| "typedoc": "^0.28.9", | ||
| "typescript": "^5.3.0", | ||
| "vitest": "^3.2.6", | ||
| "vitest": "^4.1.11", |
There was a problem hiding this comment.
🔴 Vitest 4 removed support for a separate vitest.workspace.ts file (workspace projects now must be declared via test.projects in the root vitest.config.ts); this repo still defines its unit/integration/e2e projects only in vitest.workspace.ts, which vitest 4 will no longer load. After merging, pnpm test, test:unit, test:integration, and test:e2e (all used in CI) will fail to discover any projects/tests. Fix: move the workspace's project definitions into test.projects in vitest.config.ts (or otherwise migrate off vitest.workspace.ts) as part of this bump.
Extended reasoning...
vitest.config.ts (unchanged by this diff) has no test.projects field; the three test projects (unit/integration/e2e) are defined only in vitest.workspace.ts using defineWorkspace from vitest/config. Vitest 4's config loader no longer recognizes/loads vitest.workspace.ts as a projects source. CI job steps pnpm test:unit, pnpm test:integration, pnpm test:e2e (.github/workflows/ci.yml lines 29,48,162) invoke vitest run --project=unit etc., which will find no matching project and fail or run zero tests, breaking the test suite immediately after this dependency bump is installed.
Verification: normal. Regression introduced by the vitest bump. package.json:75 changes vitest from ^3.2.6 to ^4.1.11 (pnpm-lock.yaml resolves vitest@ 4.1.11 at line 3811). The repo defines its three test projects only in vitest.workspace.ts via defineWorkspace([{test:{name:"unit"...}},{name:"integration"...},{name:"e2e"...}]). vitest.config.ts (unchanged) has no projects/test.projects field — it is…
d892155 to
70b552d
Compare
70b552d to
6b701d9
Compare
6b701d9 to
defc155
Compare
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.2.6 to 4.1.11. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.11/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-version: 4.1.11 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
defc155 to
96f3057
Compare
Bumps vitest from 3.2.6 to 4.1.11.
Release notes
Sourced from vitest's releases.
... (truncated)
Commits
9bd8d46chore: release v4.1.11 (#10995)9851dbcfix(browser): trigger playwright/chromium gc on lower disk availability [back...db616d2chore: release v4.1.10 (#10718)bae52b5fix(vm): fix external module resolve error with deps optimizer query for enco...a7a61e7chore: release v4.1.9 (#10598)934b0f5fix(pool): prevent test run hang on worker crash (#10543) [backport to v4] (#...7fb2965fix(browser): wait for orchestrator readiness before resolving browser sessio...a518019fix: fiximportOriginalwith optimizer and query import [backport to v4] (#...e61f2ddchore: release v4.1.8e4067b3fix(browser): disable clientcdpAPI whenallowWrite/allowExec: false[ba...