Skip to content

Commit

Permalink
run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
sissbruecker committed Jan 31, 2025
1 parent 64e873c commit 67c792e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ export class SauceLabsLauncherManager {
this.connectionPromise = withTimeout(
this.api.startSauceConnect({
...this.connectOptions,
tlsPassthroughDomains: `^(127\\.0\\.0\\.1|localhost|${internalIp.v4.sync()?.replace(/\./g, '\\.')})$`,
tlsPassthroughDomains: `^(127\\.0\\.0\\.1|localhost|${internalIp.v4
.sync()
?.replace(/\./g, '\\.')})$`,
}),
'[Saucelabs] Timed out setting up Sauce Connect proxy after 5 minutes.',
);
Expand Down
6 changes: 4 additions & 2 deletions packages/test-runner-saucelabs/src/createSauceLabsLauncher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type LegacySauceConnectOptions = {
* @deprecated Use `tunnelName` instead.
*/
tunnelIdentifier?: string;
}
};

export function createSauceLabsLauncher(
saucelabsOptions: SauceLabsOptions,
Expand All @@ -34,7 +34,9 @@ export function createSauceLabsLauncher(
finalSauceLabsOptions.region = 'us';
}

const finalConnectOptions: SauceConnectOptions & LegacySauceConnectOptions = { ...sauceConnectOptions };
const finalConnectOptions: SauceConnectOptions & LegacySauceConnectOptions = {
...sauceConnectOptions,
};
if (finalConnectOptions?.tunnelIdentifier) {
console.warn('The `tunnelIdentifier` option is deprecated. Use `tunnelName` instead.');
finalConnectOptions.tunnelName = finalConnectOptions.tunnelIdentifier;
Expand Down

0 comments on commit 67c792e

Please sign in to comment.