MCPcopy Create free account
hub / github.com/easydiffusion/easydiffusion / recordLateError

Function recordLateError

ui/plugins/ui/jasmine/jasmine.js:1350–1362  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

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 = {}

Callers

nothing calls this directly

Calls 1

routeLateFailureFunction · 0.85

Tested by

no test coverage detected