Skip to content

Commit 1e54bd9

Browse files
authored
fix 948 remove hardcoding of port number (DonJayamanne#1353)
1 parent 00ad035 commit 1e54bd9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/client/unittests/unittest/runner.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ export function runTest(testManager: BaseTestManager, rootDirectory: string, tes
8383

8484
testArgs.push(`--result-port=${port}`);
8585
if (debug === true) {
86-
testArgs.push(...[`--secret=my_secret`, `--port=3000`]);
86+
const debugPort = settings.unitTest.debugPort;
87+
testArgs.push(...[`--secret=my_secret`, `--port=${debugPort}`]);
8788
}
8889
testArgs.push(`--us=${startTestDiscoveryDirectory}`);
8990
if (testId.length > 0) {

0 commit comments

Comments
 (0)