()
| 15 | } |
| 16 | |
| 17 | getException() { |
| 18 | const err = new AssertionFailedError(this.params, '{{customMessage}}expected {{subject}} {{type}}') |
| 19 | err.cliMessage = () => { |
| 20 | const msg = err.template.replace('{{subject}}', output.colors.bold('{{subject}}')) |
| 21 | return template(msg, this.params) |
| 22 | } |
| 23 | return err |
| 24 | } |
| 25 | |
| 26 | addAssertParams() { |
| 27 | this.params.value = this.params.actual = arguments[0] |
nothing calls this directly
no test coverage detected