Skip to content

Commit

Permalink
test: fixed jest
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Dec 27, 2024
1 parent 960c3c0 commit 94d773f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/__mocks__/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export const handlers = [
),
// list events for an issue timeline
http.get("https://api.github.com/repos/:owner/:repo/issues/:issue_number/timeline", () => HttpResponse.json(db.event.getAll())),
http.get("https://api.github.com/repos/:owner/:repo/issues/:issue_number/events", () => HttpResponse.json(db.event.getAll())),
// update a pull request
http.patch("https://api.github.com/repos/:owner/:repo/pulls/:pull_number", ({ params: { owner, repo, pull_number: pullNumber } }) =>
HttpResponse.json({ owner, repo, pullNumber })
Expand Down

0 comments on commit 94d773f

Please sign in to comment.