mirror of
https://github.com/github/codeql-action.git
synced 2026-04-24 15:58:49 +00:00
Rename VersionOutput to VersionInfo
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user