From dc5be9d408148f2e7f398b266d943ad1ac508ee1 Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Tue, 6 Aug 2024 15:37:03 +0700 Subject: [PATCH] test: fix typing in `inputs.test.ts` --- src/inputs.test.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/inputs.test.ts b/src/inputs.test.ts index 39a3e17..773e350 100644 --- a/src/inputs.test.ts +++ b/src/inputs.test.ts @@ -134,7 +134,10 @@ describe("get action inputs", () => { const { getInputs } = await import("./inputs.js"); const core = await import("@actions/core"); - const booleanInputs = { "run-build": true, ...testCase.booleanInputs }; + const booleanInputs: Record = { + "run-build": true, + ...testCase.booleanInputs, + }; jest.mocked(core.getBooleanInput).mockImplementation((name) => { return booleanInputs[name] ?? false; });