Skip to content

Commit 4bc1d1e

Browse files
author
Dave Bartolomeo
committed
Force activation of extension
1 parent 02e5b4e commit 4bc1d1e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

extensions/ql-vscode/src/vscode-tests/minimal-workspace/sourcemap.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { fail } from 'assert';
2-
import { commands, Selection, window, workspace } from 'vscode';
2+
import { commands, extensions, Selection, window, workspace } from 'vscode';
33
import * as path from 'path';
44
import * as assert from 'assert';
55
import { expect } from 'chai';
@@ -16,6 +16,8 @@ export function run() {
1616
it('should jump to QL code', async () => {
1717
try {
1818
this.timeout(60000);
19+
const ext = extensions.getExtension('GitHub.vscode-codeql');
20+
await ext?.activate();
1921

2022
const root = workspace.workspaceFolders![0].uri.fsPath;
2123
const srcFiles = {

0 commit comments

Comments
 (0)