Skip to content

Commit

Permalink
FIX (Extension) @W-16002080@ Add eslint support and additional parame…
Browse files Browse the repository at this point in the history
…ters for the scan - Update tests
  • Loading branch information
jag-j committed Jun 24, 2024
1 parent 97c34f7 commit c32e829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/suite/scanner.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ suite('ScanRunner', () => {

// ===== ASSERTIONS =====
expect(err).to.exist;
expect(err.message).to.equal('***Engines cannot be empty. Please set one or more engines in the VS Code Settings***');
expect(err.message).to.equal('"Code Analyzer > Scanner: Engines" setting can\'t be empty. Go to your VS Code settings and specify at least one engine, and then try again.');
});

test('Error thrown when codeAnalyzer.scanner.engines is undefined', async () => {
Expand All @@ -130,7 +130,7 @@ suite('ScanRunner', () => {

// ===== ASSERTIONS =====
expect(err).to.exist;
expect(err.message).to.equal('***Engines cannot be empty. Please set one or more engines in the VS Code Settings***');
expect(err.message).to.equal('"Code Analyzer > Scanner: Engines" setting can\'t be empty. Go to your VS Code settings and specify at least one engine, and then try again.');
});
});

Expand Down

0 comments on commit c32e829

Please sign in to comment.