mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 06:38:07 +02:00
Add an option (i.e. --noFirefox) to only use Chrome when running tests
This commit is contained in:
parent
ff762179a6
commit
1b0bfcae3e
2 changed files with 18 additions and 1 deletions
|
@ -707,6 +707,9 @@ function runTests(testsName, { bot = false, xfaOnly = false } = {}) {
|
|||
if (process.argv.includes("--noChrome") || forceNoChrome) {
|
||||
args.push("--noChrome");
|
||||
}
|
||||
if (process.argv.includes("--noFirefox")) {
|
||||
args.push("--noFirefox");
|
||||
}
|
||||
if (process.argv.includes("--headless")) {
|
||||
args.push("--headless");
|
||||
}
|
||||
|
@ -739,6 +742,9 @@ function makeRef(done, bot) {
|
|||
if (process.argv.includes("--noChrome") || forceNoChrome) {
|
||||
args.push("--noChrome");
|
||||
}
|
||||
if (process.argv.includes("--noFirefox")) {
|
||||
args.push("--noFirefox");
|
||||
}
|
||||
if (process.argv.includes("--headless")) {
|
||||
args.push("--headless");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue