Skip to content

Commit b96c754

Browse files
Fix broken unit test
1 parent 4c8f137 commit b96c754

6 files changed

+6
-2
lines changed

lib/analyze-action-env.test.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action-env.test.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action-input.test.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action-input.test.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/analyze-action-env.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ test("analyze action with RAM & threads from environment variables", async (t) =
3636
gitHubVersion,
3737
languages: [],
3838
packs: [],
39+
trapCaches: {},
3940
} as unknown as configUtils.Config);
4041
const requiredInputStub = sinon.stub(actionsUtil, "getRequiredInput");
4142
requiredInputStub.withArgs("token").returns("fake-token");

src/analyze-action-input.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ test("analyze action with RAM & threads from action inputs", async (t) => {
3636
gitHubVersion,
3737
languages: [],
3838
packs: [],
39+
trapCaches: {},
3940
} as unknown as configUtils.Config);
4041
const requiredInputStub = sinon.stub(actionsUtil, "getRequiredInput");
4142
requiredInputStub.withArgs("token").returns("fake-token");

0 commit comments

Comments
 (0)