Remove packDownload()

This commit is contained in:
Chuan-kai Lin
2025-07-23 10:40:15 -07:00
parent a71ebf32ea
commit ad19982a1f
3 changed files with 1 additions and 93 deletions
+1 -19
View File
@@ -9,7 +9,7 @@ import * as sinon from "sinon";
import * as actionsUtil from "./actions-util";
import * as api from "./api-client";
import { CachingKind } from "./caching-utils";
import { PackDownloadOutput, createStubCodeQL } from "./codeql";
import { createStubCodeQL } from "./codeql";
import * as configUtils from "./config-utils";
import { Feature } from "./feature-flags";
import * as gitUtils from "./git-utils";
@@ -143,9 +143,6 @@ test("load empty config", async (t) => {
},
};
},
async packDownload(): Promise<PackDownloadOutput> {
return { packs: [] };
},
});
const config = await configUtils.initConfig(
@@ -185,9 +182,6 @@ test("loading config saves config", async (t) => {
},
};
},
async packDownload(): Promise<PackDownloadOutput> {
return { packs: [] };
},
});
// Sanity check the saved config file does not already exist
@@ -310,9 +304,6 @@ test("load non-empty input", async (t) => {
},
};
},
async packDownload(): Promise<PackDownloadOutput> {
return { packs: [] };
},
});
// Just create a generic config object with non-default values for all fields
@@ -407,9 +398,6 @@ test("Using config input and file together, config input should be used.", async
},
};
},
async packDownload(): Promise<PackDownloadOutput> {
return { packs: [] };
},
});
// Only JS, python packs will be ignored
@@ -440,9 +428,6 @@ test("API client used when reading remote config", async (t) => {
},
};
},
async packDownload(): Promise<PackDownloadOutput> {
return { packs: [] };
},
});
const inputFileContents = `
@@ -542,9 +527,6 @@ test("No detected languages", async (t) => {
async resolveLanguages() {
return {};
},
async packDownload(): Promise<PackDownloadOutput> {
return { packs: [] };
},
});
try {