Run all scenarios against whatever is currently on disk.
(scenarios, cli)
| 138 | |
| 139 | /** Run all scenarios against whatever is currently on disk. */ |
| 140 | function runAll(scenarios, cli) { |
| 141 | return scenarios.map(s => ({ scenario: s.name, ...runScenario(s, cli) })); |
| 142 | } |
| 143 | |
| 144 | /** True if every scenario outcome matches the baseline (behavior unchanged). */ |
| 145 | function matchesBaseline(baseline, current) { |
no test coverage detected