(op: string)
| 121 | |
| 122 | const tools = yield* client.tools.list({ query: {} }); |
| 123 | const addressOf = (op: string) => { |
| 124 | const tool = tools.find( |
| 125 | (entry) => |
| 126 | String(entry.integration) === String(slug) && String(entry.address).endsWith(`.${op}`), |
| 127 | ); |
| 128 | expect(tool, `the ${op} tool is in the catalog`).toBeDefined(); |
| 129 | return String(tool!.address); |
| 130 | }; |
| 131 | const failAddress = addressOf("fail"); |
| 132 | const okAddress = addressOf("ok"); |
| 133 |
no outgoing calls
no test coverage detected