This commit is contained in:
Your Name
2026-04-09 17:34:27 +00:00
parent c01ed6ff4a
commit 8cbdbdac04
5 changed files with 57 additions and 104 deletions
@@ -6,8 +6,9 @@
import { describe, it, expect, vi, beforeAll, afterAll } from 'vitest';
import { SimulationHarness } from './SimulationHarness.js';
import { createMockLlmClient } from '../testing/contextTestUtils.js';
import type { SidecarConfig } from '../sidecar/types.js';
import type { BaseLlmClient } from '../../core/baseLlmClient.js';
expect.addSnapshotSerializer({
test: (val) =>
@@ -58,11 +59,7 @@ describe('System Lifecycle Golden Tests', () => {
],
});
const mockLlmClient = {
generateContent: vi.fn().mockResolvedValue({
text: '<MOCKED_STATE_SNAPSHOT_SUMMARY>',
}),
} as unknown as BaseLlmClient;
const mockLlmClient = createMockLlmClient(['<MOCKED_STATE_SNAPSHOT_SUMMARY>']);
it('Scenario 1: Organic Growth with Huge Tool Output & Images', async () => {
const harness = await SimulationHarness.create(