Skip to content
Snippets Groups Projects
Commit f183d148 authored by Chris Beer's avatar Chris Beer
Browse files

Fix up a test

parent 7e6afd6d
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ describe('CanvasWorld', () => {
.toEqual([6305, 0, 2848, 4288]);
});
it('supports RTL orientations', () => {
expect(new CanvasWorld(canvasSubset, {}, 'right-to-left').canvasToWorldCoordinates(1))
expect(new CanvasWorld(canvasSubset, null, 'right-to-left').canvasToWorldCoordinates({ '@id': 'https://stacks.stanford.edu/image/iiif/rz176rt6531%2FPC0170_s3_Tree_Calendar_20081101_152516_0410' }))
.toEqual([0, 0, 2848, 4288]);
});
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment