test(workflow-ptc): use the output field in the fatal-code fixture
Master renamed PtcRunResult.logs to output, so the fatal-code run-result fixture no longer type-checked after merging it. Refs #7869
This commit is contained in:
1 parent
4ffad712fc
commit
e93e8e266a
1 file changed
+1
-1
@@ -242,7 +242,7 @@ describe('workflow runtime outcomes', () => {
|
||||
|
||||
it('carries a guest-reported fatal code onto the run result', async () => {
|
||||
const value = { value: null, stopReason: 'error', agentsStarted: 1, error: 'total agent cap (1)', errorCode: 'AGENT_CAP' }
|
||||
const { start } = await setup(() => Promise.resolve({ logs: [], value }))
|
||||
const { start } = await setup(() => Promise.resolve({ output: [], value }))
|
||||
const handle = start()
|
||||
try {
|
||||
expect(await handle.result).toEqual(value)
|
||||
|
||||
Reference in new issue
Block a user