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