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

Function buildParameterType

lib/mocha/bdd.js:91–95  ·  view source on GitHub ↗
({ name, regexp, transformer, useForSnippets, preferForRegexpMatch })

Source from the content-addressed store, hash-verified

89}
90
91const buildParameterType = ({ name, regexp, transformer, useForSnippets, preferForRegexpMatch }) => {
92 if (typeof useForSnippets !== 'boolean') useForSnippets = true
93 if (typeof preferForRegexpMatch !== 'boolean') preferForRegexpMatch = false
94 return new ParameterType(name, regexp, null, transformer, useForSnippets, preferForRegexpMatch)
95}
96
97// Create wrapper functions that capture the call context
98const createStepFunction = stepType => {

Callers 1

defineParameterTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected