File tree Expand file tree Collapse file tree
test/smoke/src/areas/editor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,18 +53,18 @@ export function setup() {
5353 const app = this . app as Application ;
5454 await app . workbench . quickopen . openFile ( 'app.js' ) ;
5555
56- await app . workbench . editor . gotoDefinition ( 'app.js' , 'express ' , 11 ) ;
56+ await app . workbench . editor . gotoDefinition ( 'app.js' , 'app ' , 14 ) ;
5757
58- await app . workbench . editors . waitForActiveTab ( 'index.d.ts' ) ;
58+ await app . workbench . editor . waitForHighlightingLine ( 'app.js' , 11 ) ;
5959 } ) ;
6060
6161 it ( `verifies that 'Peek Definition' works` , async function ( ) {
6262 const app = this . app as Application ;
6363 await app . workbench . quickopen . openFile ( 'app.js' ) ;
6464
65- const peek = await app . workbench . editor . peekDefinition ( 'app.js' , 'express ' , 11 ) ;
65+ const peek = await app . workbench . editor . peekDefinition ( 'app.js' , 'app ' , 14 ) ;
6666
67- await peek . waitForFile ( 'index.d.ts ' ) ;
67+ await peek . waitForFile ( 'app.js ' ) ;
6868 } ) ;
6969 } ) ;
7070}
You can’t perform that action at this time.
0 commit comments