509f4b26e0ff8a1d4b95b7126c1f59b7d2edfd7d
The original toSQL() regression test hand-built the joined query inside the test body and asserted the SQL contained a join — tautological: it never exercised the handler, so removing .innerJoin from events.ts left it green. Replace it with two tests that issue real PATCH/DELETE requests against the mocked select-chain (from → innerJoin → where) and assert the handler returns 202 (not 503) AND invokes the innerJoin spy. Verified RED: removing the edit+delete joins fails both tests; GREEN with the joins present.
The file is empty.
Languages
TypeScript
97.3%
JavaScript
1.6%
CSS
0.9%
Dockerfile
0.1%