test(hooks): cover pre-compact-scan happy-path, modes, size-cap

This commit is contained in:
Kjell Tore Guttormsen 2026-04-17 14:44:52 +02:00
commit 474e6217f4
4 changed files with 128 additions and 1 deletions

View file

@ -0,0 +1,4 @@
{"type":"user","message":{"role":"user","content":"Can you help me refactor this function?"}}
{"type":"assistant","message":{"role":"assistant","content":"Sure — please paste the function you want to refactor."}}
{"type":"user","message":{"role":"user","content":"Here is the code: function add(a, b) { return a + b; }"}}
{"type":"assistant","message":{"role":"assistant","content":"It already looks minimal. You could add JSDoc for clarity if you want."}}