(body: any, status = 200)
| 246 | const transformResponse = workflowExecutorTool.transformResponse! |
| 247 | |
| 248 | function mockResponse(body: any, status = 200): Response { |
| 249 | return { |
| 250 | ok: status >= 200 && status < 300, |
| 251 | status, |
| 252 | json: async () => body, |
| 253 | } as unknown as Response |
| 254 | } |
| 255 | |
| 256 | it.concurrent('should parse standard format response', async () => { |
| 257 | const body = { |