(msg)
| 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)) { |
no outgoing calls
no test coverage detected