Rename VersionOutput to VersionInfo

This commit is contained in:
Michael B. Gale
2023-10-04 15:54:34 +01:00
parent 49b94f1a2d
commit bcbb900532
19 changed files with 60 additions and 68 deletions
+3 -3
View File
@@ -16,7 +16,7 @@ import {
setupTests,
createFeatures,
mockLanguagesInRepo as mockLanguagesInRepo,
makeVersionOutput,
makeVersionInfo,
} from "./testing-utils";
import {
GitHubVariant,
@@ -2353,7 +2353,7 @@ test("downloadPacks-with-registries", async (t) => {
const codeQL = setCodeQL({
packDownload: packDownloadStub,
getVersion: () => Promise.resolve(makeVersionOutput("2.10.5")),
getVersion: () => Promise.resolve(makeVersionInfo("2.10.5")),
});
// packs are supplied for go, java, and python
@@ -2411,7 +2411,7 @@ test("downloadPacks-with-registries fails with invalid registries block", async
]);
const codeQL = setCodeQL({
getVersion: () => Promise.resolve(makeVersionOutput("2.10.4")),
getVersion: () => Promise.resolve(makeVersionInfo("2.10.4")),
});
await t.throwsAsync(
async () => {