mirror of
https://github.com/morluto/rea.git
synced 2026-12-01 19:09:21 +00: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:
1 parent
3bc9cfc379
commit
0b7f2229b5
1 file changed
+3
@@ -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