MCPcopy Create free account
hub / github.com/anus-dev/ANUS / sanitizeTestName

Function sanitizeTestName

integration-tests/test-helper.ts:18–23  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

16const __dirname = dirname(fileURLToPath(import.meta.url));
17
18function sanitizeTestName(name: string) {
19 return name
20 .toLowerCase()
21 .replace(/[^a-z0-9]/g, '-')
22 .replace(/-+/g, '-');
23}
24
25// Helper to create detailed error messages
26export function createToolCallErrorMessage(

Callers 1

setupMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected