mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
Disable telemetry in tests (#130591)
* Disable telemetry in tests * Remove the console log check
This commit is contained in:
@@ -120,7 +120,7 @@ export async function launch(userDataDir: string, _workspacePath: string, codeSe
|
||||
...process.env
|
||||
};
|
||||
|
||||
const args = ['--port', `${port++}`, '--browser', 'none', '--driver', 'web', '--extensions-dir', extPath];
|
||||
const args = ['--disable-telemetry', '--port', `${port++}`, '--browser', 'none', '--driver', 'web', '--extensions - dir', extPath];
|
||||
|
||||
let serverLocation: string | undefined;
|
||||
if (codeServerPath) {
|
||||
|
||||
@@ -106,7 +106,7 @@ async function launchServer(browserType: BrowserType): Promise<{ endpoint: url.U
|
||||
const root = path.join(__dirname, '..', '..', '..', '..');
|
||||
const logsPath = path.join(root, '.build', 'logs', 'integration-tests-browser');
|
||||
|
||||
const serverArgs = ['--browser', 'none', '--driver', 'web', '--enable-proposed-api'];
|
||||
const serverArgs = ['--browser', 'none', '--driver', 'web', '--enable-proposed-api', '--disable-telemetry'];
|
||||
|
||||
let serverLocation: string;
|
||||
if (process.env.VSCODE_REMOTE_SERVER_PATH) {
|
||||
|
||||
Reference in New Issue
Block a user