fix: resolve 11 failing tests across 8 test files

- ralph-tracker: add ✓ to native todo pattern + pre-check, add configure() method
- session: remove stale message expectation from interactive endpoint test
- buffer-management: fix trim count expectations (1202 items triggers second trim)
- cli-commands: replace non-existent toStartWith with toMatch regex
- edge-cases: update error expectation for session-not-found on respawn config PUT
- ralph-integration: respawn config PUT without controller now saves as pre-config
- session-state: fix debouncer shouldFlush(0) - pass timestamp >= delayMs
- timing-utilities: attach catch handlers before advancing fake timers

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-24 04:58:44 +01:00
co-authored by Claude Opus 4.5
parent d722aca2c7
commit e8bb9f3493
8 changed files with 42 additions and 21 deletions
+1 -1
View File
@@ -348,7 +348,7 @@ describe('CLI Command Parsing', () => {
it('should format properly', () => {
const help = generateHelp('test', 'Test command', ['--flag']);
const lines = help.split('\n');
expect(lines[0]).toStartWith('Usage:');
expect(lines[0]).toMatch(/^Usage:/);
});
});