Skip to content

Commit ffde5a1

Browse files
committed
test/runTest: suppress vscode download log
Change-Id: I6320c95a642b041642db228bb6b95bd3ee81eb8d Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/544498 Commit-Queue: Hyang-Ah Hana Kim <[email protected]> Reviewed-by: Suzy Mueller <[email protected]> TryBot-Result: kokoro <[email protected]>
1 parent 95a552b commit ffde5a1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/runTest.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable no-process-exit */
22
/* eslint-disable node/no-unpublished-import */
33
import * as path from 'path';
4-
import { runTests } from '@vscode/test-electron';
4+
import { SilentReporter, runTests } from '@vscode/test-electron';
55

66
async function main() {
77
// We are in test mode.
@@ -34,7 +34,8 @@ async function main() {
3434
`--user-data-dir=${extensionDevelopmentPath}/.user-data-dir-test`,
3535
// https://github.com/microsoft/vscode/issues/115794#issuecomment-774283222
3636
'--force-disable-user-env'
37-
]
37+
],
38+
reporter: new SilentReporter() // Suppress vscode download progress report
3839
});
3940
} catch (err) {
4041
console.error('Failed to run integration tests: ' + err);
@@ -56,7 +57,8 @@ async function main() {
5657
`--user-data-dir=${extensionDevelopmentPath}/.user-data-dir-test`,
5758
// https://github.com/microsoft/vscode/issues/115794#issuecomment-774283222
5859
'--force-disable-user-env'
59-
]
60+
],
61+
reporter: new SilentReporter() // Suppress vscode download progress report
6062
});
6163
} catch (err) {
6264
console.error('Failed to run gopls tests: ' + err);

0 commit comments

Comments
 (0)