Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers Known issues

A list of technical limitations and workarounds for the Cloudflare Workers Vitest integration, covering coverage tools, fake timers, dynamic imports, WebSockets, storage isolation, and resource management.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers Known issues

A list of technical limitations and workarounds for the Cloudflare Workers Vitest integration, covering coverage tools, fake timers, dynamic imports, WebSockets, storage isolation, and resource management.

When To Use

Use when troubleshooting test failures, coverage inaccuracies, or unexpected behavior in the Workers Vitest integration environment.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-testing-vitest-integration-known-issues-workflow-guide.mdA list of known limitations and issues regarding the Cloudflare Workers Vitest integration, including coverage, fake timers, and dynamic imports.Questions about a list of known limitations and issues regarding the Cloudflare Workers Vitest integration, including coverage, fake...
examples/workers-testing-vitest-integration-known-issues-cloudflare-workers-vites.textA code snippet demonstrating how to seed KV and R2 storage data within a Vitest environment for Cloudflare Workers testing.Exact payloads, commands, or snippets shown in A code snippet demonstrating how to seed KV and R2 storage data within a Vitest environment for Cloudflare Workers te...
examples/workers-testing-vitest-integration-known-issues-cloudflare-workers-vites-2.textA list of documented known issues and limitations when integrating Vitest with Cloudflare Workers.Exact payloads, commands, or snippets shown in A list of documented known issues and limitations when integrating Vitest with Cloudflare Workers.
examples/workers-testing-vitest-integration-known-issues-cloudflare-workers-vites-3.textA Vitest test case demonstrating the requirement to consume the response body when testing R2 bucket operations in Cloudflare Workers.Exact payloads, commands, or snippets shown in A Vitest test case demonstrating the requirement to consume the response body when testing R2 bucket operations in Cl...
examples/workers-testing-vitest-integration-known-issues-cloudflare-workers-vites-4.textA list of documented known issues and limitations when integrating Cloudflare Workers with the Vitest testing framework.Exact payloads, commands, or snippets shown in A list of documented known issues and limitations when integrating Cloudflare Workers with the Vitest testing framework.
examples/workers-testing-vitest-integration-known-issues-cloudflare-workers-vites-5.textA configuration example demonstrating known issues and setup patterns for integrating Cloudflare Workers with Vitest.Exact payloads, commands, or snippets shown in A configuration example demonstrating known issues and setup patterns for integrating Cloudflare Workers with Vitest.
examples/workers-testing-vitest-integration-known-issues-cloudflare-workers-vites-6.textA configuration example demonstrating the setup for cloudflareTest within a Vitest configuration file to address known integration issues.Exact payloads, commands, or snippets shown in A configuration example demonstrating the setup for cloudflareTest within a Vitest configuration file to address know...
examples/workers-testing-vitest-integration-known-issues-cloudflare-workers-vites-7.textA TypeScript wrapper file used to facilitate global setup imports within a Vitest environment for Cloudflare Workers testing.Exact payloads, commands, or snippets shown in A TypeScript wrapper file used to facilitate global setup imports within a Vitest environment for Cloudflare Workers...
examples/workers-testing-vitest-integration-known-issues-cloudflare-workers-vites-8.textA vitest configuration file demonstrating the use of a global setup wrapper for Cloudflare Workers testing.Exact payloads, commands, or snippets shown in A vitest configuration file demonstrating the use of a global setup wrapper for Cloudflare Workers testing.

What This Skill Covers

  • The Workers Vitest pool is currently in open beta. The following are issues Cloudflare is aware of and fixing:
  • Main sections: Coverage, Fake timers, Dynamic import() statements with exports and Durable Objects, WebSockets, Storage isolation.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.cloudflare.com/workers/testing/vitest-integration/known-issues/index.md