mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-31 14:16:39 +01:00
Page issues list with scroll offsets
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
5547328d9a
commit
57f197dfc1
6 files changed
+55
-42
No files matched your search
@@ -39,4 +39,12 @@ describe("issuesApi.list", () => {
|
||||
"/companies/company-1/issues?workspaceId=workspace-1&limit=1000",
|
||||
);
|
||||
});
|
||||
|
||||
it("passes pagination offsets through to the company issues endpoint", async () => {
|
||||
await issuesApi.list("company-1", { limit: 500, offset: 1500 });
|
||||
|
||||
expect(mockApi.get).toHaveBeenCalledWith(
|
||||
"/companies/company-1/issues?limit=500&offset=1500",
|
||||
);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user