MCPcopy
hub / github.com/vitest-dev/vitest / createTaskName

Function createTaskName

packages/runner/src/utils/tasks.ts:84–86  ·  view source on GitHub ↗
(names: readonly (string | undefined)[], separator = ' > ')

Source from the content-addressed store, hash-verified

82}
83
84export function createTaskName(names: readonly (string | undefined)[], separator = ' > '): string {
85 return names.filter(name => name !== undefined).join(separator)
86}

Callers 4

taskFunction · 0.90
initSuiteFunction · 0.90
collectTestsFunction · 0.90
createFileTaskFunction · 0.90

Calls 1

filterMethod · 0.65

Tested by

no test coverage detected