Resolve dependency cycle between api-client and actions-util

This commit is contained in:
Henry Mercer 2023-07-19 17:01:05 +01:00
parent 004f976bef
commit 0bc4788cf7
30 changed files with 217 additions and 213 deletions

View file

@ -29,7 +29,7 @@ test("analyze action with RAM & threads from action inputs", async (t) => {
sinon
.stub(actionsUtil, "createStatusReportBase")
.resolves({} as actionsUtil.StatusReportBase);
sinon.stub(actionsUtil, "sendStatusReport").resolves(true);
sinon.stub(api, "sendStatusReport").resolves(true);
const gitHubVersion: util.GitHubVersion = {
type: util.GitHubVariant.DOTCOM,
};