cloudflare / templates

A collection of starter templates and examples for Cloudflare Workers and Pages
https://cloudflareworkers.com
MIT License
999 stars 632 forks source link

Replace `service-worker-mock` w/ Miniflare #91

Closed JacobMGEvans closed 2 years ago

JacobMGEvans commented 2 years ago

Any usage of service-worker-mock should be replaced with a Miniflare implementation. Encouraging a better simulated environment and future integration with Wrangler Core API for testing.

Additionally the package is unmaintained

Reference for conversion (thanks @mrbbot): https://github.com/cloudflare/worker-typescript-template/pull/73

Cc: @lauragift21 wanted to own this