(name: string)
| 165 | ); |
| 166 | |
| 167 | const mintKey = (name: string) => |
| 168 | Effect.gen(function* () { |
| 169 | const created = yield* client.account.createApiKey({ payload: { name } }); |
| 170 | yield* Effect.addFinalizer(() => |
| 171 | client.account.revokeApiKey({ params: { apiKeyId: created.id } }).pipe(Effect.ignore), |
| 172 | ); |
| 173 | return created; |
| 174 | }); |
| 175 | |
| 176 | const keyA = yield* mintKey("e2e validation-cache key A"); |
| 177 | const keyB = yield* mintKey("e2e validation-cache key B"); |
no outgoing calls
no test coverage detected