Skip to content

Commit 14abc70

Browse files
committed
ensure results are still captured when debugging
1 parent 3a7b176 commit 14abc70

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/client/unittests/unittest/runner.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,10 @@ export function runTest(testManager: BaseTestManager, rootDirectory: string, tes
8484
failFast = testArgs.indexOf('--uf') >= 0;
8585
testArgs = testArgs.filter(arg => arg !== '--uf');
8686

87+
testArgs.push(`--result-port=${port}`);
8788
if (debug === true) {
8889
testArgs.push(...[`--secret=my_secret`, `--port=3000`]);
8990
}
90-
else {
91-
testArgs.push(`--result-port=${port}`);
92-
}
9391
testArgs.push(`--us=${startTestDiscoveryDirectory}`);
9492
if (testId.length > 0) {
9593
testArgs.push(`-t${testId}`);

0 commit comments

Comments
 (0)