MCPcopy
hub / github.com/codeceptjs/CodeceptJS / isBDD

Method isBDD

lib/step/meta.js:17–22  ·  view source on GitHub ↗

@return {boolean}

()

Source from the content-addressed store, hash-verified

15
16 /** @return {boolean} */
17 isBDD() {
18 if (this.actor && this.actor.match && this.actor.match(/^(Given|When|Then|And|But)/)) {
19 return true
20 }
21 return false
22 }
23
24 toCliStyled() {
25 return this.toString()

Callers 3

toStringMethod · 0.95
constructorMethod · 0.80
steps_test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected