Skip to content

Commit

Permalink
test: fix interop test
Browse files Browse the repository at this point in the history
which was setting the wrong shell environment variables
  • Loading branch information
fippo committed Apr 30, 2024
1 parent b168cec commit 0e1d9ab
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 0e1d9ab

Please sign in to comment.