mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Add PageSize of 30 to presentation map to reduce load when requesting artists (#69)
This commit is contained in:
@@ -158,6 +158,17 @@ describe("service config", () => {
|
||||
);
|
||||
}
|
||||
|
||||
it("should have a PageSize of specified", async () => {
|
||||
const xml = await presentationMapXml();
|
||||
|
||||
const pageSize = xpath.select(
|
||||
`string(/Presentation/BrowseOptions/@PageSize)`,
|
||||
xml
|
||||
);
|
||||
|
||||
expect(pageSize).toEqual('30');
|
||||
});
|
||||
|
||||
it("should have an ArtWorkSizeMap for all sizes recommended by sonos", async () => {
|
||||
const xml = await presentationMapXml();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user