mirror of
https://github.com/stablyai/orca.git
synced 2026-10-30 16:47:34 +00:00
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:
+1
-1
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user