Fix codestyle in IIIFInfo tests
This commit is contained in:
@@ -324,7 +324,7 @@ describe('ol.format.IIIFInfo', function() {
|
|||||||
'@id': 'http://iiif.test/id',
|
'@id': 'http://iiif.test/id',
|
||||||
profile: ['http://iiif.io/api/image/2/level1.json', {
|
profile: ['http://iiif.io/api/image/2/level1.json', {
|
||||||
supports: ['regionByPct', 'sizeByWh']
|
supports: ['regionByPct', 'sizeByWh']
|
||||||
}],
|
}]
|
||||||
});
|
});
|
||||||
|
|
||||||
let options = iiifInfo.getTileSourceOptions();
|
let options = iiifInfo.getTileSourceOptions();
|
||||||
@@ -470,7 +470,7 @@ describe('ol.format.IIIFInfo', function() {
|
|||||||
height: 250
|
height: 250
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
let options = iiifInfo.getTileSourceOptions();
|
const options = iiifInfo.getTileSourceOptions();
|
||||||
expect(options.sizes).to.have.length(3);
|
expect(options.sizes).to.have.length(3);
|
||||||
expect(options.sizes[0]).to.have.length(2);
|
expect(options.sizes[0]).to.have.length(2);
|
||||||
expect(options.sizes[0][0]).to.be(2000);
|
expect(options.sizes[0][0]).to.be(2000);
|
||||||
|
|||||||
Reference in New Issue
Block a user