Skip to content

Commit b320c5f

Browse files
refactor: rename browserstack_test_suite_url to browserstackTestSuiteUrl for consistency
1 parent 8bcce0e commit b320c5f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/tools/appautomate.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ async function runAppTestsOnBrowserStack(
178178
appPath?: string;
179179
testSuitePath?: string;
180180
browserstackAppUrl?: string;
181-
browserstack_test_suite_url?: string;
181+
browserstackTestSuiteUrl?: string;
182182
devices: string[];
183183
project: string;
184184
detectedAutomationFramework: string;
@@ -191,9 +191,9 @@ async function runAppTestsOnBrowserStack(
191191
"appPath is required when browserstackAppUrl is not provided",
192192
);
193193
}
194-
if (!args.browserstack_test_suite_url && !args.testSuitePath) {
194+
if (!args.browserstackTestSuiteUrl && !args.testSuitePath) {
195195
throw new Error(
196-
"testSuitePath is required when browserstack_test_suite_url is not provided",
196+
"testSuitePath is required when browserstackTestSuiteUrl is not provided",
197197
);
198198
}
199199

@@ -210,8 +210,8 @@ async function runAppTestsOnBrowserStack(
210210
}
211211

212212
let test_suite_url: string;
213-
if (args.browserstack_test_suite_url) {
214-
test_suite_url = args.browserstack_test_suite_url;
213+
if (args.browserstackTestSuiteUrl) {
214+
test_suite_url = args.browserstackTestSuiteUrl;
215215
logger.info(
216216
`Using provided BrowserStack test suite URL: ${test_suite_url}`,
217217
);
@@ -255,8 +255,8 @@ async function runAppTestsOnBrowserStack(
255255
}
256256

257257
let test_suite_url: string;
258-
if (args.browserstack_test_suite_url) {
259-
test_suite_url = args.browserstack_test_suite_url;
258+
if (args.browserstackTestSuiteUrl) {
259+
test_suite_url = args.browserstackTestSuiteUrl;
260260
logger.info(
261261
`Using provided BrowserStack test suite URL: ${test_suite_url}`,
262262
);

0 commit comments

Comments
 (0)