(executor: Executor)
| 258 | }).pipe(Effect.orDie); |
| 259 | |
| 260 | const requireAdmin = (executor: Executor) => { |
| 261 | const admin = executor.admin; |
| 262 | if (!admin) return Effect.die("expected the platform view to be enabled"); |
| 263 | return Effect.succeed(admin); |
| 264 | }; |
| 265 | |
| 266 | describe("platform view — admin.listSubjects", () => { |
| 267 | it.effect("lists every subject in the tenant and no other tenant's", () => |