mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Fix unit test for getDestinations
This commit is contained in:
parent
c68ffcf978
commit
3adab8b183
1 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,8 @@ describe('api', function() {
|
|||
it('gets destinations', function() {
|
||||
var promise = doc.getDestinations();
|
||||
waitsForPromise(promise, function(data) {
|
||||
// TODO this seems to be broken for the test pdf
|
||||
expect(data).toEqual({ chapter1: [{ gen: 0, num: 17 }, { name: 'XYZ' },
|
||||
0, 841.89, null] });
|
||||
});
|
||||
});
|
||||
it('gets outline', function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue