You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently, we're not importing the same `config` file as is used by the
actual extension, so mocking methods in this file does not do anything.
However, we can mock the `vscode` module, so we can use this for
returning different values in the configuration.
We also need to mock the authentication session since we don't have one.
Copy file name to clipboardExpand all lines: extensions/ql-vscode/src/vscode-tests/cli-integration/remote-queries/variant-analysis-submission-integration.test.ts
+54-6Lines changed: 54 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
import*aspathfrom"path";
2
2
3
3
import{
4
+
authentication,
4
5
commands,
5
6
extensions,
6
7
QuickPickItem,
@@ -12,7 +13,6 @@ import * as Octokit from "@octokit/rest";
0 commit comments