Skip to content

Commit

Permalink
chore: fixed close PR test
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Jul 31, 2024
1 parent 42c041c commit fb88f90
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,13 @@ describe("Action tests", () => {
return HttpResponse.json({}, { status: 404 });
},
{ once: true }
),
http.get(
"https://api.github.com/repos/:org/:repo/issues/:id/timeline",
() => {
return HttpResponse.json([{ id: 1, created_at: lastActivityDate }]);
},
{ once: true }
)
);
jest.mock(actionsGithubPackage, () => ({
Expand Down

0 comments on commit fb88f90

Please sign in to comment.