Skip to content

Commit

Permalink
Reduce the number of pages
Browse files Browse the repository at this point in the history
  • Loading branch information
NSeydoux committed Dec 20, 2024
1 parent 23e0dbf commit 50a12f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/node/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1774,15 +1774,15 @@ describe(`End-to-end access grant tests for environment [${environment}] `, () =
it("can iterate through pages", async () => {
const pages = paginatedQuery(
{
pageSize: 10,
pageSize: 20,
},
{
fetch: addUserAgent(requestorSession.fetch, TEST_USER_AGENT),
// FIXME add query endpoint discovery check.
queryEndpoint: new URL("query", vcProvider),
},
);
const maxPages = 3;
const maxPages = 2;
let pageCount = 0;
for await (const page of pages) {
expect(page.items).not.toHaveLength(0);
Expand Down

0 comments on commit 50a12f2

Please sign in to comment.