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

Function uniqueSuffix

e2e/scenarios/artifacts.test.ts:76–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74/** Selfhost shares one workspace across scenarios, so every title is unique to
75 * this run and assertions look for "mine", never "the only one". */
76const uniqueSuffix = () => randomBytes(4).toString("hex");
77
78const structuredOf = (result: { readonly raw: unknown }): Record<string, unknown> =>
79 ((result.raw as { structuredContent?: Record<string, unknown> }).structuredContent ??

Callers 1

artifacts.test.tsFile · 0.70

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected