We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d469e3 commit 9550091Copy full SHA for 9550091
1 file changed
extensions/ql-vscode/src/vscode-tests/cli-integration/run-cli.test.ts
@@ -52,4 +52,15 @@ describe('Use cli', function() {
52
expect(qlpacks['codeql-javascript']).not.to.be.undefined;
53
expect(qlpacks['codeql-python']).not.to.be.undefined;
54
});
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
+ });
66
0 commit comments