Skip to content

Commit 1f937ad

Browse files
committed
Do not import from config in unit tests
1 parent 086d8e2 commit 1f937ad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import type { VariantAnalysisConfig } from "../../src/config";
2-
import { GITHUB_URL } from "../../src/config";
32

43
export function createMockVariantAnalysisConfig(): VariantAnalysisConfig {
54
return {
65
controllerRepo: "foo/bar",
76
showSystemDefinedRepositoryLists: true,
8-
githubUrl: GITHUB_URL,
7+
githubUrl: new URL("https://github.com"),
98
onDidChangeConfiguration: jest.fn(),
109
};
1110
}

0 commit comments

Comments
 (0)