Skip to content

Commit 3ad2a95

Browse files
committed
Integration test enable to use Werror as a bool
1 parent fa9c0a4 commit 3ad2a95

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/integration/test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ try {
5959
'\n- "noref": Test cases without reference hashes' +
6060
'\n- "sameref": Test cases that produce the same hashes with the reference Vizzu'
6161
)
62+
.coerce("Werror", (arg) => {
63+
if (arg === true) {
64+
return ["noref", "sameref"];
65+
}
66+
return arg;
67+
})
6268

6369
.choices("images", ["ALL", "FAILED", "DISABLED"])
6470
.describe(

0 commit comments

Comments
 (0)