mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-07 07:59: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:
@@ -935,7 +935,7 @@ describe('Ralph Integration Tests', () => {
|
||||
expect(data.errorCode).toBe('NOT_FOUND');
|
||||
});
|
||||
|
||||
it('should return error for respawn config without controller', async () => {
|
||||
it('should save respawn config as pre-config without controller', async () => {
|
||||
const caseName = `respawn-config-none-${Date.now()}`;
|
||||
createdCases.push(caseName);
|
||||
|
||||
@@ -956,8 +956,8 @@ describe('Ralph Integration Tests', () => {
|
||||
const data = await res.json();
|
||||
|
||||
expect(res.status).toBe(200);
|
||||
expect(data.success).toBe(false);
|
||||
expect(data.errorCode).toBe('NOT_FOUND');
|
||||
expect(data.success).toBe(true);
|
||||
expect(data.config.idleTimeoutMs).toBe(10000);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user