1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Removes hijack describe() hack from unit tests.

This commit is contained in:
Yury Delendik 2016-04-11 07:37:35 -05:00
parent 44c63bca28
commit 879340d741
3 changed files with 26 additions and 38 deletions

View file

@ -1,11 +1,11 @@
/* globals expect, it, describe, combineUrl, PDFNetworkStream */
/* globals expect, it, describe, PDFNetworkStream */
'use strict';
describe('network', function() {
var pdf1 = combineUrl(window.location.href, '../pdfs/tracemonkey.pdf');
var pdf1 = new URL('../pdfs/tracemonkey.pdf', window.location).href;
var pdf1Length = 1016315;
var pdf2 = combineUrl(window.location.href, '../pdfs/pdf.pdf');
var pdf2 = new URL('../pdfs/pdf.pdf', window.location).href;
var pdf2Length = 32472771;
it('read without stream and range', function(done) {