MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / pickKnown

Function pickKnown

lib/utils/pluginParser.js:83–89  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

81}
82
83function pickKnown(config) {
84 const out = {}
85 for (const key of Object.keys(config || {})) {
86 if (RESERVED_KEYS.has(key)) out[key] = config[key]
87 }
88 return out
89}
90
91/**
92 * Match a step's source location against a `path` (substring/suffix) and optional `line`.

Callers 1

resolveTriggerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected