mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Tweak the "gets page stats after rendering page, with pdfBug
set" unit-test to remove an intermittent failure on Travis
I recently noticed a couple of intermittent failures on Travis, hence this patch which changes the expectation to be identical to the 'Page Request' check in the preceding test-case.
This commit is contained in:
parent
b5281e56c8
commit
b4d95f3763
1 changed files with 1 additions and 1 deletions
|
@ -1405,7 +1405,7 @@ describe('api', function() {
|
|||
|
||||
let [statEntryOne, statEntryTwo, statEntryThree] = stats.times;
|
||||
expect(statEntryOne.name).toEqual('Page Request');
|
||||
expect(statEntryOne.end - statEntryOne.start).toBeGreaterThan(0);
|
||||
expect(statEntryOne.end - statEntryOne.start).toBeGreaterThanOrEqual(0);
|
||||
|
||||
expect(statEntryTwo.name).toEqual('Rendering');
|
||||
expect(statEntryTwo.end - statEntryTwo.start).toBeGreaterThan(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue