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

Function defineParameterType

lib/mocha/bdd.js:86–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86const defineParameterType = options => {
87 const parameterType = buildParameterType(options)
88 parameterTypeRegistry.defineParameterType(parameterType)
89}
90
91const buildParameterType = ({ name, regexp, transformer, useForSnippets, preferForRegexpMatch }) => {
92 if (typeof useForSnippets !== 'boolean') useForSnippets = true

Callers 1

bdd_test.jsFile · 0.90

Calls 1

buildParameterTypeFunction · 0.85

Tested by

no test coverage detected