(request: FormElicitation)
| 248 | |
| 249 | describe("formatPausedExecution approval terms", () => { |
| 250 | const paused = (request: FormElicitation) => |
| 251 | ({ |
| 252 | id: "exec_1", |
| 253 | elicitationContext: { |
| 254 | address: "tools.x.org.default.y", |
| 255 | args: {}, |
| 256 | request, |
| 257 | }, |
| 258 | }) as Parameters<typeof formatPausedExecution>[0]; |
| 259 | |
| 260 | it("states the terms an upstream attached to the approval", () => { |
| 261 | // An empty schema makes this look like a plain yes/no, but the metadata |