mirror of
https://github.com/coder/code-server.git
synced 2026-05-12 23:37:25 +02:00
feat: add test for catching errors in Emitter
This commit is contained in:
9
test/serviceWorker.test.ts
Normal file
9
test/serviceWorker.test.ts
Normal 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..
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user