code-server/test/serviceWorker.test.ts

9 lines
277 B
TypeScript

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..
})
})