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

Function randParamName

site/e2e/parameters.ts:137–140  ·  view source on GitHub ↗
(p: RichParameter)

Source from the content-addressed store, hash-verified

135// It helps to avoid cross-test interference when user-auto-fill triggers on
136// the same parameter name.
137export const randParamName = (p: RichParameter): RichParameter => {
138 const name = `${p.name}_${Math.random().toString(36).substring(7)}`;
139 return { ...p, name: name };
140};
141
142// Build options
143

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected