* Declares that test should fail. * If test passes - throws an error. * Can pass an Error object or regex matching expected message. * * @returns {this}
()
| 30 | * @returns {this} |
| 31 | */ |
| 32 | fails() { |
| 33 | this.test.throws = new Error() |
| 34 | return this |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Retry this test for x times |
no outgoing calls
no test coverage detected