Fix Citavi import test (#2394)

This commit is contained in:
Tom Najdek 2022-03-09 20:04:23 +01:00 committed by GitHub
parent 1ad2056674
commit 8e8b03e5ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -251,11 +251,12 @@ describe("Zotero_File_Interface", function() {
'00000|000390|00252',
'00000|000981|00355'
]);
assert.sameDeepMembers(annotationPositions, [
{ pageIndex: 0, rects: [[230.20219999999998, 578.879472, 275.47790585937497, 585.816528], [230.20219999999998, 578.879472, 275.47790585937497, 585.816528]]},
{ pageIndex: 0, rects: [[254.51480000000004, 532.840598, 316.46209999999974, 539.6787019999999], [254.51480000000004, 532.840598, 316.46209999999974, 539.6787019999999]]},
{ pageIndex: 0, rects: [[228.3353, 475.340598, 461.7559999999991, 482.178702], [146.3, 463.840598, 437.5108999999992, 470.678702], [146.3, 463.840598, 461.7559999999991, 482.178702]]},
{ pageIndex: 0, rects: [[146.3, 429.340598, 199.49469218750005, 436.178702], [146.3, 429.340598, 199.49469218750005, 436.178702]] }
{ pageIndex: 0, rects: [[230.202, 578.879, 275.478, 585.817], [230.202, 578.879, 275.478, 585.817]] },
{ pageIndex: 0, rects: [[254.515, 532.841, 316.462, 539.679], [254.515, 532.841, 316.462, 539.679]] },
{ pageIndex: 0, rects: [[228.335, 475.341, 461.756, 482.179], [146.3, 463.841, 437.511, 470.679], [146.3, 463.841, 461.756, 482.179]] },
{ pageIndex: 0, rects: [[146.3, 429.341, 199.495, 436.179], [146.3, 429.341, 199.495, 436.179]] }
]);
assert.sameDeepMembers(annotationTags, [