Skip to content

Commit 8d73190

Browse files
committed
chore: fix env var name
1 parent 566d9b9 commit 8d73190

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/compass-e2e-tests/helpers/test-runner-context.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ export const SKIP_NATIVE_MODULE_REBUILD =
8282
export const DISABLE_START_STOP = process.argv.includes('--disable-start-stop');
8383
export const MOCHA_BAIL = process.argv.includes('--bail');
8484

85-
export const COMPASS_WEB_BROWSER_NAME = process.env.BROWSER_NAME ?? 'chrome';
85+
export const COMPASS_WEB_BROWSER_NAME =
86+
process.env.COMPASS_WEB_BROWSER_NAME ?? 'chrome';
8687
// https://webdriver.io/docs/driverbinaries/
8788
//
8889
// If you leave out browserVersion it will try and find the browser binary on
@@ -97,7 +98,7 @@ export const COMPASS_WEB_BROWSER_NAME = process.env.BROWSER_NAME ?? 'chrome';
9798
// NOTE: The version of chromedriver or geckodriver in play might also be
9899
// relevant.
99100
export const COMPASS_WEB_BROWSER_VERSION =
100-
process.env.BROWSER_VERSION === 'unset'
101+
process.env.COMPASS_WEB_BROWSER_VERSION === 'unset'
101102
? undefined
102103
: process.env.BROWSER_VERSION ?? 'latest';
103104
export const COMPASS_WEB_SANDBOX_URL = 'http://localhost:7777';

0 commit comments

Comments
 (0)