Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawkyZ committed Nov 7, 2024
1 parent 445dd02 commit 8c95e9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/unit/common/configuration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ suite('Configuration', () => {
});

test('CLI Path: Returns default path if empty', async () => {
let workspace = stubWorkspaceConfiguration(ADVANCED_CLI_PATH, '');
const workspace = stubWorkspaceConfiguration(ADVANCED_CLI_PATH, '');

const configuration = new Configuration({}, workspace);
sinon.stub(Platform, 'getCurrent').returns('linux');
Expand All @@ -150,7 +150,7 @@ suite('Configuration', () => {
});

test('CLI Path: Returns Snyk LS path', async () => {
let workspace = stubWorkspaceConfiguration(ADVANCED_CUSTOM_LS_PATH, '/path/to/ls');
const workspace = stubWorkspaceConfiguration(ADVANCED_CUSTOM_LS_PATH, '/path/to/ls');

const configuration = new Configuration({}, workspace);

Expand All @@ -159,7 +159,7 @@ suite('Configuration', () => {
});

test('CLI Path: Returns CLI Path if set', async () => {
let workspace = stubWorkspaceConfiguration(ADVANCED_CLI_PATH, '/path/to/cli');
const workspace = stubWorkspaceConfiguration(ADVANCED_CLI_PATH, '/path/to/cli');

const configuration = new Configuration({}, workspace);

Expand Down

0 comments on commit 8c95e9f

Please sign in to comment.