MCPcopy Create free account
hub / github.com/webdriverio/webdriverio / nestedKeyValue

Function nestedKeyValue

packages/wdio-browserstack-service/src/util.ts:1984–1986  ·  view source on GitHub ↗
(hash: any, keys: Array<string>)

Source from the content-addressed store, hash-verified

1982}
1983
1984export function nestedKeyValue(hash: any, keys: Array<string>) {
1985 return keys.reduce((hash, key) => (isHash(hash) ? hash[key] : undefined), hash)
1986}
1987
1988export function removeDir(dir: string) {
1989 const list = fs.readdirSync(dir)

Callers 1

checkAndUpdateCliMethod · 0.85

Calls 1

isHashFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…