We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca5e5e2 commit c3eca5bCopy full SHA for c3eca5b
1 file changed
extensions/ql-vscode/src/vscode-tests/no-workspace/cli.test.ts
@@ -7,11 +7,13 @@ chai.use(chaiAsPromised);
7
const expect = chai.expect;
8
9
describe.only('cliServerTests', function() {
10
- this.timeout(10000);
11
12
it('should parse a valid SARIF file', async () => {
13
const result = await CodeQLCliServer.parseSarif(__dirname + '/data/sarif/validSarif.sarif');
14
- expect(result.runs.length).to.eq(1);
+ expect(result.version).to.exist;
+ expect(result.runs).to.exist;
15
+ expect(result.runs[0].tool).to.exist;
16
+ expect(result.runs[0].tool.driver).to.exist;
17
});
18
19
it('should return an empty array if there are no results', async () => {
0 commit comments