7a48659cae73a3f6b0c63142f511b7165a35d11e
The CR-01 fix appended .orderBy().limit(1) to the edit/delete event lookups and CR-02 added .innerJoin(calendars).limit(1) to the freshest-etag re-read. The existing test doubles terminated the mock chain at .where(), so the new chain calls hit undefined methods → handlers caught the throw and returned 503 (events.test.ts) and the worker skipped the PUT (outboxWorker.test.ts). Extend the mocks to match the corrected production chains. Behaviour-preserving: mockWhereCalEvents stays the awaited terminal so etag override assertions still drive. 8 failing tests now green; full suite: api 103, pwa 141.
The file is empty.
Languages
TypeScript
97.3%
JavaScript
1.6%
CSS
0.9%
Dockerfile
0.1%