Use new feature flag architecture when uploading databases

This commit is contained in:
Henry Mercer 2021-12-14 20:48:32 +00:00
parent 04671efa1d
commit d6499fad61
18 changed files with 158 additions and 177 deletions

View file

@ -45,6 +45,8 @@ const util = __importStar(require("./util"));
.resolves({});
sinon.stub(actionsUtil, "sendStatusReport").resolves(true);
sinon.stub(configUtils, "getConfig").resolves({
// Use GHES so we don't try to call the feature flags API endpoint
gitHubVersion: { type: util.GitHubVariant.GHES, version: "3.0.0" },
languages: [],
});
const requiredInputStub = sinon.stub(actionsUtil, "getRequiredInput");