mirror of https://github.com/vector-im/riot-web
prettier on tests too
parent
628d2bdadb
commit
473d86120b
|
@ -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],
|
|
||||||
],
|
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue