Skip to content

Commit

Permalink
Merge pull request #3929 from ProjectMirador/openseadragon-5.0
Browse files Browse the repository at this point in the history
Include OpenSeadragon v5
  • Loading branch information
jcoyne authored Oct 30, 2024
2 parents 08dbbd9 + 9091f04 commit aff5ad4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions __tests__/src/components/OpenSeadragonViewer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ describe('OpenSeadragonViewer', () => {
});

it('calls addNonTileSource for every nonTiledImage and then zoomsToWorld', async () => {
const { component, rerender, viewer } = createWrapper({ nonTiledImages: [] });
const { component, rerender, viewer } = createWrapper({ infoResponses: [], nonTiledImages: [] });

const mockAddNonTiledImage = jest.spyOn(viewer, 'addSimpleImage');
const mockAddNonTiledImage = jest.spyOn(viewer, 'addSimpleImage').mockImplementation(() => true);
const mockFitBounds = jest.spyOn(viewer.viewport, 'fitBounds');

rerender(cloneElement(component, {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"lodash": "^4.17.11",
"manifesto.js": "^4.2.0",
"normalize-url": "^4.5.0",
"openseadragon": "^2.4.2 || ^3.0.0 || 4.0.x || ^4.1.1",
"openseadragon": "^2.4.2 || ^3.0.0 || 4.0.x || ^4.1.1 || ^5.0.0",
"prop-types": "^15.6.2",
"rdndmb-html5-to-touch": "^8.0.0",
"re-reselect": "^5.0.0",
Expand Down

0 comments on commit aff5ad4

Please sign in to comment.