Skip to content

Commit

Permalink
test: complete mock for "Get the combined status for a specific ref" …
Browse files Browse the repository at this point in the history
…endpoint response
  • Loading branch information
gr2m committed Mar 4, 2020
1 parent 9cf714e commit da61cff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/paginate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,11 @@ describe("pagination", () => {
const result = {
state: "success",
total_count: 2,
statuses: [{ id: 1 }, { id: 2 }]
statuses: [{ id: 1 }, { id: 2 }],
commit_url: "https://api.github.com/...",
url: "https://api.github.com/...",
repository: {},
sha: "sha123"
};
const mock = fetchMock
.sandbox()
Expand Down

0 comments on commit da61cff

Please sign in to comment.