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

Method includes

lib/helper/extras/Console.js:17–23  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

15 }
16
17 includes(msg) {
18 const prev = this._logEntries[this._logEntries.length - 1]
19 if (!prev) return false
20 const text = (msg.text && msg.text()) || msg._text || ''
21 const prevText = (prev.text && prev.text()) || prev._text || ''
22 return text === prevText
23 }
24
25 add(entry) {
26 if (Array.isArray(entry)) {

Callers 15

buildLibWithDocsFunction · 0.80
docsHelpersFunction · 0.80
versioningFunction · 0.80
contributorFacesFunction · 0.80
getCurrentBetaVersionFunction · 0.80
buildLibWithDocsFunction · 0.80
docsHelpersFunction · 0.80
contributorFacesFunction · 0.80
processFunction · 0.80
getFunction · 0.80
isCustomMethod · 0.80
toXPathMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected