Function
buildMissingResultCheck
(req, metric, status, reason)
Source from the content-addressed store, hash-verified
| 496 | } |
| 497 | |
| 498 | function buildMissingResultCheck(req, metric, status, reason) { |
| 499 | return { |
| 500 | scenario: req.scenario, |
| 501 | framework: req.framework, |
| 502 | params: req.params, |
| 503 | metric, |
| 504 | status, |
| 505 | severity: "hard", |
| 506 | baselineValue: null, |
| 507 | currentValue: null, |
| 508 | delta: null, |
| 509 | deltaPct: null, |
| 510 | threshold: null, |
| 511 | ruleSource: null, |
| 512 | ruleReason: null, |
| 513 | reason, |
| 514 | }; |
| 515 | } |
| 516 | |
| 517 | function sortChecks(checks) { |
| 518 | checks.sort((a, b) => { |
Tested by
no test coverage detected