Skip to content

Commit

Permalink
sleep after activation
Browse files Browse the repository at this point in the history
  • Loading branch information
fantavlik committed Aug 25, 2023
1 parent 9230c79 commit aa6448c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/acceptance/spl2.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ suite('SPL2 Language Server acceptance', async () => {

test('Language detected in .spl2nb should be SPL2', async () => {
const splunkExt = vscode.extensions.getExtension('Splunk.splunk');
console.log(`[DEBUG] activating extension ${splunkExt} ...`);
const context = splunkExt?.activate();
await sleep(1500);
console.log(`[DEBUG] opening ${blankDocUri} ...`);
const doc = await vscode.workspace.openNotebookDocument(blankDocUri);
console.log(`[DEBUG] showing ${blankDocUri} ...`);
Expand Down

0 comments on commit aa6448c

Please sign in to comment.