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

Function includes

lib/assert/include.js:66–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64
65export { InclusionAssertion as Assertion }
66export const includes = needleType => {
67 needleType = needleType || 'string'
68 return new InclusionAssertion({ jar: needleType })
69}
70export const fileIncludes = file => new InclusionAssertion({ file, jar: 'file {{file}}' })
71
72function escapeRegExp(str) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected