From 473d86120bff0ea862d22af12a8a244c6e00b1d8 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 21 Nov 2024 16:12:15 +0000 Subject: [PATCH] prettier on tests too --- test/unit-tests/SlidingSyncManager-test.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test/unit-tests/SlidingSyncManager-test.ts b/test/unit-tests/SlidingSyncManager-test.ts index 3a515fa312..80ac19e766 100644 --- a/test/unit-tests/SlidingSyncManager-test.ts +++ b/test/unit-tests/SlidingSyncManager-test.ts @@ -167,9 +167,7 @@ describe("SlidingSyncManager", () => { ); return; } - expect(slidingSync.setListRanges).toHaveBeenCalledWith(SlidingSyncManager.ListSearch, [ - range, - ]); + expect(slidingSync.setListRanges).toHaveBeenCalledWith(SlidingSyncManager.ListSearch, [range]); }); }); it("handles accounts with zero rooms", async () => { @@ -187,9 +185,7 @@ describe("SlidingSyncManager", () => { expect(slidingSync.setList).toHaveBeenCalledWith( SlidingSyncManager.ListSearch, expect.objectContaining({ - ranges: [ - [0, batchSize], - ], + ranges: [[0, batchSize]], }), ); });