1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Merge pull request #18404 from timvandermeij/fix-unit-intermittent

Fix the "caches image resources at the document/page level as expected (issue 11878)" unit test
This commit is contained in:
Tim van der Meij 2024-07-06 17:32:55 +02:00 committed by GitHub
commit 145951df88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4155,7 +4155,7 @@ Caron Broadcasting, Inc., an Ohio corporation (“Lessee”).`)
checkedCopyLocalImage = true;
// Ensure that the image was copied in the main-thread, rather
// than being re-parsed in the worker-thread (which is slower).
expect(statsOverall).toBeLessThan(firstStatsOverall / 4);
expect(statsOverall).toBeLessThan(firstStatsOverall / 2);
}
}
}