File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
extensions/ql-vscode/src/vscode-tests/cli-integration Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -52,4 +52,15 @@ describe('Use cli', function() {
5252 expect ( qlpacks [ 'codeql-javascript' ] ) . not . to . be . undefined ;
5353 expect ( qlpacks [ 'codeql-python' ] ) . not . to . be . undefined ;
5454 } ) ;
55+
56+ it ( 'should resolve languages' , async function ( ) {
57+ skipIfNoCodeQL ( this ) ;
58+ const languages = await cli . resolveLanguages ( ) ;
59+ // should have a bunch of languages. just check that a few known ones exist
60+ expect ( languages [ 'cpp' ] ) . not . to . be . undefined ;
61+ expect ( languages [ 'csharp' ] ) . not . to . be . undefined ;
62+ expect ( languages [ 'java' ] ) . not . to . be . undefined ;
63+ expect ( languages [ 'javascript' ] ) . not . to . be . undefined ;
64+ expect ( languages [ 'python' ] ) . not . to . be . undefined ;
65+ } ) ;
5566} ) ;
You can’t perform that action at this time.
0 commit comments