worker-typescript-template
worker-typescript-template copied to clipboard
use edge-mock instead of service-worker-mock
I propose that you suggest the user of edge-mock (which I've just built) instead of service-worker-mock.
I've made the necessary changes here for the switch.
A few advantages of edge-mock:
service-workersthe project whichservice-worker-mockis a part of is no longer maintainededge-mockprovides support for KV store mocking out-of-the-boxedge-mockproperly supportsArrayBufferandReadableStreamwhichservice-worker-mockdoes notedge-mockhas close to 100% test coverage and is written in typescript- All the implementations provided by
edge-mockare fully compliant with the types they implement in typescript
I'm not really clear if I should be including changes to package-lock.json, I assume from the number of changes that it's somehow very outdated.
Nice! Might update the edge-mock version here.