Skip to content

Commit

Permalink
updated inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
crs-k committed Dec 6, 2023
1 parent 27a0d65 commit d3d2dc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion __mocks__/@actions/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ export const validInputs: Inputs = {
maxIssues: 30,
tagLastCommitter: true,
staleBranchLabel: 'stale branch 🗑️',
compareBranches: 'save'
compareBranches: 'save',
rateLimit: true
}

type ListIssuesResponseDataType = GetResponseTypeFromEndpointMethod<typeof githubActual.github.rest.issues.listForRepo>
Expand Down
2 changes: 1 addition & 1 deletion __tests__/functions/get-context.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ describe('Get Context Function', () => {
await validateInputs()

expect(core.getInput).toHaveBeenCalledTimes(6)
expect(core.getBooleanInput).toHaveBeenCalledTimes(2)
expect(core.getBooleanInput).toHaveBeenCalledTimes(3)
})

test('Expect Failure: - TypeError', async () => {
Expand Down

0 comments on commit d3d2dc2

Please sign in to comment.