* Declares that test throws error. * Can pass an Error object or regex matching expected message. * * @param {*} err * @returns {this}
(err)
| 18 | * @returns {this} |
| 19 | */ |
| 20 | throws(err) { |
| 21 | this.test.throws = err |
| 22 | return this |
| 23 | } |
| 24 | |
| 25 | /** |
| 26 | * Declares that test should fail. |
no outgoing calls
no test coverage detected