(actual, expected, message, operator, stackStartFunction)
| 314 | |
| 315 | // Fail a test |
| 316 | function fail (actual, expected, message, operator, stackStartFunction) { |
| 317 | throw new AssertionError({ |
| 318 | message: message, |
| 319 | actual: actual, |
| 320 | expected: expected, |
| 321 | operator: operator, |
| 322 | stackStartFunction: stackStartFunction |
| 323 | }); |
| 324 | } |
| 325 | |
| 326 | // Expose error handling tools |
| 327 | proclaim.AssertionError = AssertionError; |
no outgoing calls
no test coverage detected