Reputation: 421
I Want to know if there is library specific to unit test the service-worker.Or if there is any way to mock the install and other events to check wheather it's working as expected.
Upvotes: 1
Views: 2329
Reputation: 114
You can use a package service-worker-mock
. service-worker-mock
I believe this material would be a great reference point Service Worker Testing Made Easy
Upvotes: 2