(orgId: string)
| 81 | }; |
| 82 | |
| 83 | export const createGroup = async (orgId: string) => { |
| 84 | const name = randomName(); |
| 85 | const group = await API.createGroup(orgId, { |
| 86 | name, |
| 87 | display_name: `Display ${name}`, |
| 88 | avatar_url: "/emojis/1f60d.png", |
| 89 | quota_allowance: 0, |
| 90 | }); |
| 91 | return group; |
| 92 | }; |
| 93 | |
| 94 | export const createOrganization = async (name = randomName()) => { |
| 95 | const org = await API.createOrganization({ |
no test coverage detected