You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: address Copilot review comments on app worker unit tests
- worker.spec.ts: snapshot/restore process.env instead of deleting keys
- worker.spec.ts: replace meaningless expect(true) with not.to.throw()
- worker.spec.ts: assert fakeWatcher.close() in 'closes watchers' test
- static-mirroring-worker.spec.ts: snapshot/restore process.env.SECRET
- static-mirroring-worker.spec.ts: implement 'rejects events from relay itself' test
- static-mirroring-worker.spec.ts: assert true (not just boolean) for valid event
- static-mirroring-worker.spec.ts: add real assertions to onMessage tests with mock client
- static-mirroring-worker.spec.ts: assert WebSocket.terminate() in close test
- app.spec.ts: use deterministic counter instead of Math.random() for worker IDs
- app.spec.ts: advance fake timers and assert cluster.fork in restart test
- src/app/static-mirroring-worker.ts: validate this.config after path() lookup
- src/app/app.ts: use this.process.env consistently for all env reads in run()
0 commit comments