File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 55
66// Must always be on top to setup expected env.
77process . env . VSC_PYTHON_SMOKE_TEST = '1' ;
8-
8+ import * as vscode from 'vscode' ;
99import { spawn } from 'child_process' ;
1010import * as fs from '../client/common/platform/fs-paths' ;
1111import * as glob from 'glob' ;
@@ -47,6 +47,19 @@ class TestRunner {
4747 ) ;
4848 }
4949 private async launchTest ( customEnvVars : Record < string , { } > ) {
50+ const configurationTerminal = vscode . workspace . getConfiguration ( 'terminal' ) ;
51+ await configurationTerminal . update ( 'integrated.defaultProfile.osx' , 'pwsh' , vscode . ConfigurationTarget . Global ) ;
52+ await configurationTerminal . update (
53+ 'integrated.defaultProfile.linux' ,
54+ 'pwsh' ,
55+ vscode . ConfigurationTarget . Global ,
56+ ) ;
57+ await configurationTerminal . update (
58+ 'integrated.defaultProfile.windows' ,
59+ 'pwsh' ,
60+ vscode . ConfigurationTarget . Global ,
61+ ) ;
62+
5063 console . log ( 'Launch tests in test runner' ) ;
5164 await new Promise < void > ( ( resolve , reject ) => {
5265 const env : Record < string , string > = {
You can’t perform that action at this time.
0 commit comments