Fix broken unit test
This commit is contained in:
parent
4c8f13758e
commit
b96c7546c1
6 changed files with 6 additions and 2 deletions
|
|
@ -36,6 +36,7 @@ test("analyze action with RAM & threads from environment variables", async (t) =
|
|||
gitHubVersion,
|
||||
languages: [],
|
||||
packs: [],
|
||||
trapCaches: {},
|
||||
} as unknown as configUtils.Config);
|
||||
const requiredInputStub = sinon.stub(actionsUtil, "getRequiredInput");
|
||||
requiredInputStub.withArgs("token").returns("fake-token");
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ test("analyze action with RAM & threads from action inputs", async (t) => {
|
|||
gitHubVersion,
|
||||
languages: [],
|
||||
packs: [],
|
||||
trapCaches: {},
|
||||
} as unknown as configUtils.Config);
|
||||
const requiredInputStub = sinon.stub(actionsUtil, "getRequiredInput");
|
||||
requiredInputStub.withArgs("token").returns("fake-token");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue