Skip to content

Commit

Permalink
Merge pull request #1658 from fippo/fix-interop
Browse files Browse the repository at this point in the history
test: fix interop test
  • Loading branch information
fippo authored Apr 30, 2024
2 parents b168cec + 0e1d9ab commit b3183c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/download-browsers.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const {buildDriver} = require('./webdriver');
// Download the browser(s).
async function download() {
if (process.env.browserA && process.env.browserB) {
(await buildDriver(process.env.browserA)).quit();
(await buildDriver(process.env.browserB)).quit();
if (process.env.BROWSER_A && process.env.BROWSER_B) {
(await buildDriver(process.env.BROWSER_A)).quit();
(await buildDriver(process.env.BROWSER_B)).quit();
} else {
(await buildDriver()).quit();
}
Expand Down

0 comments on commit b3183c8

Please sign in to comment.