Skip to content

Commit 303fc0c

Browse files
fix(tests): update test expectations for v3.3.3
- tinydancer-full-integration: allow duration >= 0 for mocked execution - qe-task-router: update agent count from 94 to 96 (new agents added) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 3c59bd2 commit 303fc0c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

v3/tests/integration/tinydancer-full-integration.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ describe('TinyDancer Full Integration (ADR-051)', () => {
217217

218218
// Outcome recording is fire-and-forget, so we just verify task completes
219219
expect(result.taskId).toBe('test-outcome-success-1');
220-
expect(result.duration).toBeGreaterThan(0);
220+
expect(result.duration).toBeGreaterThanOrEqual(0); // Duration may be 0 in fast mocked execution
221221
});
222222

223223
it('should record failed outcomes', async () => {

v3/tests/unit/routing/qe-task-router.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ describe('QE Task Router', () => {
2828
it('should initialize successfully', () => {
2929
const stats = router.getStats();
3030
expect(stats.initialized).toBe(true);
31-
// Agent count updated to match current QE_AGENT_REGISTRY size
32-
expect(stats.agentCount).toBe(94);
31+
// Agent count updated to match current QE_AGENT_REGISTRY size (includes new agents)
32+
expect(stats.agentCount).toBe(96);
3333
});
3434

3535
it('should be idempotent', async () => {

0 commit comments

Comments
 (0)