Skip to content

Commit

Permalink
NO-JIRA initialize secrets sample folder as git repository
Browse files Browse the repository at this point in the history
  • Loading branch information
sophio-japharidze-sonarsource committed Aug 9, 2024
1 parent 31fd0ee commit 855990c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions its/src/test/secretsSuite/secrets.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { TextEncoder } from 'util';
import * as fs from 'fs';
import * as url from 'url';
import * as os from 'os';
import { exec } from 'child_process';

// You can import and use all API from the 'vscode' module
// as well as import your extension to test it
Expand All @@ -25,6 +26,8 @@ suite('Secrets Test Suite', () => {
this.timeout(30 * 1000);
vscode.window.showInformationMessage('Starting Secrets tests.');

exec('git init', { cwd: path.join(__dirname, secretsFolderLocation) });

await activateAndShowOutput();
});

Expand Down

0 comments on commit 855990c

Please sign in to comment.