mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-06 07:29:42 +02:00
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:
@@ -627,7 +627,7 @@ describe('Session Event Handling', () => {
|
||||
const debouncer = createDebouncer(100);
|
||||
debouncer.add('event1');
|
||||
debouncer.add('event2');
|
||||
expect(debouncer.shouldFlush(0)).toBe(true);
|
||||
expect(debouncer.shouldFlush(100)).toBe(true);
|
||||
const events = debouncer.flush(100);
|
||||
expect(events).toEqual(['event1', 'event2']);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user