File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,15 @@ import { getCurrentValueForPosition } from '../../inspect';
77suite ( 'Test golang compatibility' , function ( ) {
88 this . timeout ( 600_000 ) ;
99
10- this . beforeAll ( async ( done ) => {
10+ this . beforeAll ( async ( ) => {
1111 await vscode . commands . executeCommand ( 'workbench.action.closeAllEditors' ) ;
1212 // install extensions
1313 let tries = 3 ;
1414 while ( ! vscode . extensions . getExtension ( 'golang.go' ) && tries -- > 0 ) {
15- console . log ( vscode . extensions . all . map ( ( e ) => e . id ) ) ;
15+
1616 await vscode . commands . executeCommand ( 'workbench.extensions.installExtension' , 'golang.go' ) ;
1717 }
1818 await vscode . extensions . getExtension ( 'golang.go' ) ! . activate ( ) ;
19- done ( ) ;
2019 } ) ;
2120
2221 this . afterEach ( async ( ) => {
Original file line number Diff line number Diff line change @@ -7,21 +7,19 @@ import { getCurrentValueForPosition } from '../../inspect';
77suite ( 'Test python compatibility' , function ( ) {
88 this . timeout ( 60_000 ) ;
99
10- this . beforeAll ( async ( done ) => {
10+ this . beforeAll ( async ( ) => {
1111 await vscode . commands . executeCommand ( 'workbench.action.closeAllEditors' ) ;
1212 // install extensions
1313 await vscode . commands . executeCommand ( 'workbench.extensions.installExtension' , 'ms-python.debugpy' ) ;
1414 await vscode . commands . executeCommand ( 'workbench.extensions.installExtension' , 'ms-python.python' ) ;
1515
1616 await vscode . extensions . getExtension ( 'ms-python.debugpy' ) ! . activate ( ) ;
1717 await vscode . extensions . getExtension ( 'ms-python.python' ) ! . activate ( ) ;
18- done ( ) ;
1918 } ) ;
2019
21- this . afterEach ( async ( done ) => {
20+ this . afterEach ( async ( ) => {
2221 await vscode . debug . stopDebugging ( ) ;
2322 vscode . debug . removeBreakpoints ( vscode . debug . breakpoints ) ;
24- done ( ) ;
2523 } ) ;
2624
2725 this . afterAll ( ( ) => vscode . commands . executeCommand ( 'workbench.action.closeAllEditors' ) ) ;
You can’t perform that action at this time.
0 commit comments