mirror of
https://github.com/stablyai/orca.git
synced 2026-11-14 09:57:48 +00:00
fix(orchestration): verify status work without active mail custody
This commit is contained in:
@@ -583,7 +583,23 @@ it.each([10, 100])(
|
||||
newest.mock.results.filter((result) => result.value !== undefined).length
|
||||
).toBeLessThanOrEqual(3)
|
||||
expect(newest).toHaveBeenCalled()
|
||||
session = { ...session, sleepingAgentSessionsByPaneKey: {} }
|
||||
session = {
|
||||
...session,
|
||||
sleepingAgentSessionsByPaneKey: Object.fromEntries(
|
||||
Object.keys(records).map((key) => [
|
||||
key,
|
||||
new Proxy(
|
||||
{ ...record, paneKey: key },
|
||||
{
|
||||
get(target, property, receiver) {
|
||||
visits++
|
||||
return Reflect.get(target, property, receiver)
|
||||
}
|
||||
}
|
||||
)
|
||||
])
|
||||
)
|
||||
}
|
||||
sessionWritten('local')
|
||||
await settled()
|
||||
visits = 0
|
||||
|
||||
Reference in New Issue
Block a user