mirror of
https://github.com/morluto/rea.git
synced 2026-12-02 13:11:18 -05:00
test(cli): select export-web-scripts' capture file in the contract parity check (#15418)
Since #15385 export_web_scripts takes exactly one of capture_path or capture, so neither is required alone and the parity check's argv builder supplied no capture source; the contract refused the input. The check now selects the positional capture file.
This commit is contained in:
@@ -402,6 +402,9 @@ const ARGV_SATISFYING_RULES: Readonly<
|
||||
beforeJson: JSON.stringify(screenshotExample.before),
|
||||
afterJson: JSON.stringify(screenshotExample.after),
|
||||
},
|
||||
// The export takes exactly one capture source, a file or capture Evidence,
|
||||
// so neither is required alone; select the positional file.
|
||||
"export-web-scripts": { capturePath: "rel/target" },
|
||||
// Each side must be process capture Evidence.
|
||||
"compare-process-captures": {
|
||||
left: JSON.stringify(processComparisonExample.left),
|
||||
|
||||
Reference in New Issue
Block a user