(
name: string,
fn: (item: { label: string; shell: string }) => Effect.Effect<void, unknown, ShellTestServices>,
)
| 153 | ) |
| 154 | |
| 155 | const each = ( |
| 156 | name: string, |
| 157 | fn: (item: { label: string; shell: string }) => Effect.Effect<void, unknown, ShellTestServices>, |
| 158 | ) => { |
| 159 | for (const item of shells) { |
| 160 | it.live(`${name} [${item.label}]`, () => withShell(item, fn(item))) |
| 161 | } |
| 162 | } |
| 163 | |
| 164 | const capture = (requests: Array<Omit<PermissionV1.Request, "id" | "sessionID" | "tool">>, stop?: Error) => ({ |
| 165 | ...ctx, |
no test coverage detected