Closed samuelcolvin closed 3 years ago
Hi! edge-mock
has a hardcoded dependency on @cloudflare/workers-types which regretably duplicates the types in this project. Please see #19 I'd prefer to sunset/handoff this project entirely.
Makes sense, thanks
Hi, you might consider switching from
service-worker-mock
toedge-mock
(which I've just built).Just a suggestion, feel free to close this if you like.
A few advantages of
edge-mock
:service-workers
the project whichservice-worker-mock
is a part of is no longer maintained.edge-mock
provides support for KV store mocking out-of-the-boxedge-mock
properly supportsArrayBuffer
andReadableStream
whichservice-worker-mock
do does notedge-mock
has close to 100% test coverage and is written in typescript.edge-mock
are fully compliant with the types they implement in typescript.