MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / invite

Function invite

apps/cloud/src/auth/mirror-feeders.node.test.ts:1361–1364  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1359 yield* seedTarget(org, { backfilled: false });
1360 const account = yield* AccountProvider;
1361 const invite = () =>
1362 Effect.flip(
1363 account.inviteMember({ [ORG_SELECTOR_HEADER]: org }, { email: "new@placeholder.test" }),
1364 );
1365
1366 const error = yield* invite();
1367 expect(error).toBeInstanceOf(AccountForbidden);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected