in lib/runTest.ts [110:136]
export async function runTests(options: TestOptions): Promise<number> {
if (!options.vscodeExecutablePath) {
options.vscodeExecutablePath = await downloadAndUnzipVSCode(options);
}
let args = [
// https://github.com/microsoft/vscode/issues/84238
'--no-sandbox',
// https://github.com/microsoft/vscode-test/issues/120
'--disable-updates',
'--skip-welcome',
'--skip-release-notes',
'--disable-workspace-trust',
'--extensionDevelopmentPath=' + options.extensionDevelopmentPath,
'--extensionTestsPath=' + options.extensionTestsPath
];
if (options.launchArgs) {
args = options.launchArgs.concat(args);
}
if (!options.reuseMachineInstall) {
args.push(...getProfileArguments(args));
}
return innerRunTests(options.vscodeExecutablePath, args, options.extensionTestsEnv);
}