feat: add test for catching errors in Emitter

This commit is contained in:
Joe Previte
2021-02-10 15:37:43 -07:00
parent b232dcbd4a
commit 80a180079e
2 changed files with 30 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
describe("serviceWorker", () => {
it("should add the proper eventListeners", () => {
// make sure install, active and fetch were added as event listeners
})
it("should call the proper callbacks", () => {
// somehow test Line 8 with the events waitUntil..
})
})