Skip to content

chore: upgrade to vitest 5 - #371

Merged
rexxars merged 2 commits into
mainfrom
chore/vitest-5
Oct 13, 2026
Merged

rexxars merged 2 commits into
mainfrom
chore/vitest-5

Conversation

@rexxars

@rexxars rexxars commented Oct 13, 2026

Copy link
Copy Markdown
Member

…also the latest playwright, oxfmt, oxlint, happy-dom and switches to the new cloudflare vitest plugin instead of the worker pool.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The major test-runner migration spans several runtimes and requires successful CI validation across their integrations.

0 open findings

What changed in this PR

Upgrades Vitest and related test tooling while migrating workerd tests to Cloudflare’s new plugin.

Changes:

  • Upgrades Vitest, Playwright, happy-dom, Oxc tools, and parser dependencies.
  • Migrates browser/workerd configuration to updated APIs.
  • Stabilizes an event-property test and ignores Vitest’s cache.
File Description
vitest.workerd.config.ts Migrates to the Cloudflare plugin and disables filesystem module caching.
vitest.ios.config.ts Moves the API server configuration for Vitest 5.
vitest.browser.config.ts Moves browser API configuration for Vitest 5.
test/​client.test.ts Prevents buffered events from racing the assertion.
package.json Upgrades test tooling and parser dependencies.
deno.lock Updates Deno dependency resolutions.
bun.lock Updates Bun dependency resolutions.
.gitignore Ignores Vitest cache output.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@rexxars
rexxars merged commit c878bfc into main Oct 13, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants