Skip to content

Commit bcfb899

Browse files
committed
Rename pagination method from byPage() to asPages() in entity tests
1 parent a7a1d91 commit bcfb899

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/e2e-azuremanaged/entity.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ describe("Durable Entities E2E Tests (DTS)", () => {
453453
expect(counts).toEqual([10, 20, 30]);
454454
}, 60000);
455455

456-
it("should query entities page by page using byPage()", async () => {
456+
it("should query entities page by page using asPages()", async () => {
457457
// Arrange
458458
const prefix = `page-query-${Date.now()}`;
459459
const entityIds = [];
@@ -480,7 +480,7 @@ describe("Durable Entities E2E Tests (DTS)", () => {
480480
instanceIdStartsWith: `@CounterEntity@${prefix}`,
481481
includeState: true,
482482
pageSize: 2, // Small page size to force multiple pages
483-
}).byPage()) {
483+
}).asPages()) {
484484
pageCount++;
485485
for (const metadata of page.values) {
486486
allResults.push({

0 commit comments

Comments
 (0)