prettier on tests too

dbkr/sss
David Baker 2024-11-21 16:12:15 +00:00
parent 628d2bdadb
commit 473d86120b
1 changed files with 2 additions and 6 deletions

View File

@ -167,9 +167,7 @@ describe("SlidingSyncManager", () => {
); );
return; return;
} }
expect(slidingSync.setListRanges).toHaveBeenCalledWith(SlidingSyncManager.ListSearch, [ expect(slidingSync.setListRanges).toHaveBeenCalledWith(SlidingSyncManager.ListSearch, [range]);
range,
]);
}); });
}); });
it("handles accounts with zero rooms", async () => { it("handles accounts with zero rooms", async () => {
@ -187,9 +185,7 @@ describe("SlidingSyncManager", () => {
expect(slidingSync.setList).toHaveBeenCalledWith( expect(slidingSync.setList).toHaveBeenCalledWith(
SlidingSyncManager.ListSearch, SlidingSyncManager.ListSearch,
expect.objectContaining({ expect.objectContaining({
ranges: [ ranges: [[0, batchSize]],
[0, batchSize],
],
}), }),
); );
}); });