Rollup merge of #97018 - GuillaumeGomez:fail-on-js-error, r=notriddle

Ensure that test fail if a JS error occurs

Fixes #96902.

r? ``@notriddle``
This commit is contained in:
Yuki Okushi 2022-05-14 13:42:54 +09:00 committed by GitHub
commit ec14d946ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -138,7 +138,7 @@ async function main(argv) {
try {
// This is more convenient that setting fields one by one.
let args = [
"--variable", "DOC_PATH", opts["doc_folder"],
"--variable", "DOC_PATH", opts["doc_folder"], "--enable-fail-on-js-error",
];
if (opts["debug"]) {
debug = true;