We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 086d8e2 commit 1f937adCopy full SHA for 1f937ad
extensions/ql-vscode/test/factories/config.ts
@@ -1,11 +1,10 @@
1
import type { VariantAnalysisConfig } from "../../src/config";
2
-import { GITHUB_URL } from "../../src/config";
3
4
export function createMockVariantAnalysisConfig(): VariantAnalysisConfig {
5
return {
6
controllerRepo: "foo/bar",
7
showSystemDefinedRepositoryLists: true,
8
- githubUrl: GITHUB_URL,
+ githubUrl: new URL("https://github.com"),
9
onDidChangeConfiguration: jest.fn(),
10
};
11
}
0 commit comments