(address: string)
| 260 | }; |
| 261 | |
| 262 | const invoke = (address: string) => |
| 263 | Effect.gen(function* () { |
| 264 | const executed = yield* client.executions.execute({ |
| 265 | payload: { code: invokeByAddressCode(address, {}), autoApprove: true }, |
| 266 | }); |
| 267 | expect(executed.status, "the sandbox execution completed").toBe("completed"); |
| 268 | return JSON.parse(executed.text) as ToolEnvelope; |
| 269 | }); |
| 270 | |
| 271 | // THE guarantee: the scope-insufficient 403 carries its own code |
| 272 | // and reconnect guidance — and no oauth.start hint, because |
no test coverage detected