File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
extensions/ql-vscode/test/pure-tests Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,10 @@ describe('using the query server', function () {
8383 }
8484 } ) ;
8585
86+ // Note this does not work with arrow functions as the test case bodies:
87+ // ensure they are all written with standard anonymous functions.
88+ this . timeout ( 10000 ) ;
89+
8690 const codeQlPath = process . env [ "CODEQL_PATH" ] ! ;
8791 let qs : qsClient . QueryServerClient ;
8892 let cliServer : cli . CodeQLCliServer ;
@@ -95,6 +99,7 @@ describe('using the query server', function () {
9599 cliServer . dispose ( ) ;
96100 }
97101 } ) ;
102+
98103 it ( 'should be able to start the query server' , async function ( ) {
99104 const consoleProgressReporter : ProgressReporter = {
100105 report : ( v : { message : string } ) => console . log ( `progress reporter says ${ v . message } ` )
@@ -126,10 +131,6 @@ describe('using the query server', function () {
126131 queryServerStarted . resolve ( ) ;
127132 } ) ;
128133
129- // Note this does not work with arrow functions as the test case bodies:
130- // ensure they are all written with standard anonymous functions.
131- this . timeout ( 5000 ) ;
132-
133134 for ( const queryTestCase of queryTestCases ) {
134135 const queryName = path . basename ( queryTestCase . queryPath ) ;
135136 const compilationSucceeded = new Checkpoint < void > ( ) ;
You can’t perform that action at this time.
0 commit comments