Function
callerRow
(role: "admin" | "member")
Source from the content-addressed store, hash-verified
| 158 | |
| 159 | // The mirror's row for the caller, at whatever role a test sets. |
| 160 | const callerRow = (role: "admin" | "member"): DirectoryMember => ({ |
| 161 | accountId: CALLER, |
| 162 | membershipId: `om_${CALLER}_${ORG}`, |
| 163 | organizationId: ORG, |
| 164 | email: null, |
| 165 | name: null, |
| 166 | avatarUrl: null, |
| 167 | role, |
| 168 | status: "active", |
| 169 | lastActiveAt: null, |
| 170 | }); |
| 171 | |
| 172 | const unread = (why: string) => () => Effect.die(why); |
| 173 | const stubDirectory = (role: "admin" | "member") => |
Tested by
no test coverage detected