This repository was archived by the owner on Nov 18, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 2424 "runtimeExecutable" : " ${execPath}" ,
2525 "args" : [
2626 " --extensionDevelopmentPath=${workspaceFolder}" ,
27- " --extensionTestsPath=${workspaceFolder}/out/test"
27+ " --extensionTestsPath=${workspaceFolder}/out/test/suite" ,
28+ " ${workspaceFolder}/fixtures"
2829 ],
2930 "outFiles" : [
3031 " ${workspaceFolder}/out/test/**/*.js"
Original file line number Diff line number Diff line change @@ -9,7 +9,12 @@ import { runTests } from 'vscode-test';
99 await runTests ( {
1010 extensionDevelopmentPath,
1111 extensionTestsPath,
12- launchArgs : [ '--disable-extensions' ] ,
12+ launchArgs : [
13+ '--disable-extensions' ,
14+ // Already start in the fixtures dir because we lose debugger connection
15+ // once we re-open a different folder due to window reloading
16+ path . join ( extensionDevelopmentPath , 'fixtures' ) ,
17+ ] ,
1318 } ) . catch ( ( ) => {
1419 console . error ( `Test run failed` ) ;
1520 process . exit ( 1 ) ;
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ suite('Extension Tests', () => {
2626 { subcommand : 'run' , group : undefined } ,
2727 ] ;
2828
29- await vscode . commands . executeCommand ( 'vscode.openFolder' , projectUri ) ;
3029 const whenWorkspacesActive = projects . map ( path => {
3130 const fsPath = Uri . file ( path ) . fsPath ;
3231 return whenWorkspaceActive ( fsPath ) ;
You can’t perform that action at this time.
0 commit comments