MCPcopy Index your code
hub / github.com/coder/coder / randomName

Function randomName

site/e2e/helpers.ts:836–839  ·  view source on GitHub ↗
(annotation?: string)

Source from the content-addressed store, hash-verified

834};
835
836export const randomName = (annotation?: string) => {
837 const base = randomUUID().slice(0, 8);
838 return annotation ? `${annotation}-${base}` : base;
839};
840
841/**
842 * Awaiter is a helper that allows you to wait for a callback to be called. It

Callers 15

createUserFunction · 0.90
createOrganizationMemberFunction · 0.90
createGroupFunction · 0.90
createOrganizationFunction · 0.90
auditLogs.spec.tsFile · 0.90
idpOrgSync.spec.tsFile · 0.90
appearance.spec.tsFile · 0.90
auditLogs.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected