-
-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
14 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
export default function ensureRdpPort(args: string[]) { | ||
const existing = args.find( | ||
(arg) => arg.slice(0, 23) === "--remote-debugging-port" | ||
); | ||
const existing = args.find((arg) => arg.slice(0, 23) === '--remote-debugging-port') | ||
|
||
if (existing) { | ||
return Number(existing.split("=")[1]); | ||
return Number(existing.split('=')[1]) | ||
} | ||
|
||
const port = 40000 + Math.round(Math.random() * 25000); | ||
const port = 40000 + Math.round(Math.random() * 25000) | ||
|
||
args.push(`--remote-debugging-port=${port}`); | ||
args.push(`--remote-debugging-port=${port}`) | ||
|
||
return port; | ||
return port | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export { default as ensureRdpPort } from "./ensureRdpPort" | ||
export { default as ensureRdpPort } from './ensureRdpPort' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
export declare const SEED_PHRASE = "test test test test test test test test test test test junk"; | ||
export declare const PASSWORD = "Tester@1234"; | ||
export declare const SEED_PHRASE = 'test test test test test test test test test test test junk' | ||
export declare const PASSWORD = 'Tester@1234' | ||
declare const _default: { | ||
hash: string; | ||
fn: import("@synthetixio/synpress-cache").WalletSetupFunction; | ||
walletPassword: string; | ||
}; | ||
export default _default; | ||
//# sourceMappingURL=basic.setup.d.ts.map | ||
hash: string | ||
fn: import('@synthetixio/synpress-cache').WalletSetupFunction | ||
walletPassword: string | ||
} | ||
export default _default | ||
//# sourceMappingURL=basic.setup.d.ts.map |