test(native-chat): the admission test's compaction resolves with a real outcome

Main's compaction result is a tagged outcome; the host-level admission test
resolved its mock compaction with an empty object.
This commit is contained in:
Brennan Benson
2026-09-29 00:59:49 -07:00
parent f6061875d2
commit e528daea6c
@@ -64,7 +64,7 @@ function devServer(overrides: Partial<AgentChildWorkView> = {}): AgentChildWorkV
beforeEach(async () => {
records = []
resetHostTestOperationIds()
compact.mockReset().mockResolvedValue({})
compact.mockReset().mockResolvedValue({ outcome: 'compacted' })
directory = await mkdtemp(join(tmpdir(), 'orca-command-child-work-'))
store = await AgentSessionRecordStore.open({
directory: join(directory, 'store'),