MCPcopy Index your code
hub / github.com/cypress-io/code-coverage / stringToArray

Function stringToArray

lib/common-utils.ts:14–18  ·  view source on GitHub ↗
(prop: string, obj: Record<string, unknown>)

Source from the content-addressed store, hash-verified

12}
13
14function stringToArray(prop: string, obj: Record<string, unknown>): void {
15 if (typeof obj[prop] === 'string') {
16 obj[prop] = [obj[prop]]
17 }
18}
19
20export function combineNycOptions(...options: NycOptions[]): NycOptions {
21 // last option wins

Callers 1

combineNycOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…