Skip to content

Commit

Permalink
Fixed test broken in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Balearica committed Sep 10, 2024
1 parent 0dd8801 commit a19d59d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/module/importPdfText.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe('Check superscripts are detected in PDF imports.', function () {

it('Should correctly parse font size for lines with superscripts (3rd doc)', async () => {
const words = scribe.data.ocr.active[2].lines[24].words;
assert.isTrue(words.map((word) => word.size && Math.round(word.size) === 29).reduce((acc, val) => acc && val));
assert.isTrue(words.map((word) => word.size && Math.round(word.size) === 33).reduce((acc, val) => acc && val));
}).timeout(10000);

// Forth document
Expand Down

0 comments on commit a19d59d

Please sign in to comment.