Skip to content

Support for Cloudflare Workers runtime #2637

@randreu28

Description

@randreu28

Scope

Adds a new behavior

Compatibility

  • This is a breaking change

Feature description

Hi! 👋

I’d like to ask if it would be possible to add support for the Cloudflare Workers runtime.

MSW already works great in the browser and in Node.js, but a lot of projects today also run on edge runtimes like Cloudflare Workers. Having MSW work there as well would make testing much easier for anyone building on Cloudflare.

If full support isn’t planned or isn’t feasible right now, do you happen to know of any reliable workaround or recommended setup to get MSW running in a Workers environment?

Thanks a lot for your time, and for all the work you put into the project!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions