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