MCPcopy Create free account
hub / github.com/hashintel/hash / generateRandomShortname

Function generateRandomShortname

tests/hash-backend-integration/src/tests/util.ts:100–101  ·  view source on GitHub ↗
(prefix?: string)

Source from the content-addressed store, hash-verified

98};
99
100export const generateRandomShortname = (prefix?: string) =>
101 `${prefix ?? ""}${randomStringSuffix()}`;
102
103export const createTestUser = async (
104 context: ImpureGraphContext<false, true>,

Callers 4

user.test.tsFile · 0.90
createTestUserFunction · 0.85
createTestOrgFunction · 0.85

Calls 1

randomStringSuffixFunction · 0.85

Tested by

no test coverage detected