Skip to content

Commit 314ede6

Browse files
Merge pull request #1266 from github/edoardo/fix-unit-test
Fix broken unit test
2 parents 4c8f137 + b96c754 commit 314ede6

6 files changed

+6
-2
lines changed

lib/analyze-action-env.test.js

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action-input.test.js

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/analyze-action-env.test.ts

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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)