(error)
| 1348 | // TODO: Unify recordLateError with recordLateExpectation? The extra |
| 1349 | // diagnostic info added by the latter is probably useful in most cases. |
| 1350 | function recordLateError(error) { |
| 1351 | const isExpectationResult = error.matcherName !== undefined && error.passed !== undefined |
| 1352 | const result = isExpectationResult |
| 1353 | ? error |
| 1354 | : j$.buildExpectationResult({ |
| 1355 | error, |
| 1356 | passed: false, |
| 1357 | matcherName: "", |
| 1358 | expected: "", |
| 1359 | actual: "", |
| 1360 | }) |
| 1361 | routeLateFailure(result) |
| 1362 | } |
| 1363 | |
| 1364 | function recordLateExpectation(runable, runableType, result) { |
| 1365 | const delayedExpectationResult = {} |
nothing calls this directly
no test coverage detected