Skip to content

Commit ae22a38

Browse files
committed
test(workflow-tests): drop the case that restates the reply schema
1 parent 3294a9c commit ae22a38

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

‎apps/sim/lib/workflow-tests/protocol.test.ts‎

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,6 @@ describe('testReplyArgsSchema', () => {
1313
})
1414
})
1515

16-
it('keeps a mock output, including a falsy one', () => {
17-
expect(testReplyArgsSchema.parse({ runId: 'r', callId: 'c', output: { ok: true } })).toEqual({
18-
runId: 'r',
19-
callId: 'c',
20-
output: { ok: true },
21-
})
22-
expect(testReplyArgsSchema.parse({ runId: 'r', callId: 'c', output: null })).toEqual({
23-
runId: 'r',
24-
callId: 'c',
25-
output: null,
26-
})
27-
})
28-
2916
it('never reads an error past the cap as an empty output', () => {
3017
const reply = { runId: 'r', callId: 'c', error: 'x'.repeat(10_001) }
3118
expect(testReplyArgsSchema.safeParse(reply).success).toBe(false)

0 commit comments

Comments
 (0)