()
| 35 | } |
| 36 | |
| 37 | getFailedAssertion() { |
| 38 | const err = this.getException() |
| 39 | const lines = this.params.haystack.split('\n') |
| 40 | if (lines.length > MAX_LINES) { |
| 41 | const more = lines.length - MAX_LINES |
| 42 | err.actual = `${lines.slice(0, MAX_LINES).join('\n')}\n--( ${more} lines more )---` |
| 43 | } |
| 44 | return err |
| 45 | } |
| 46 | |
| 47 | getFailedNegation() { |
| 48 | this.params.type = 'not to include' |
nothing calls this directly
no test coverage detected