mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-26 17:07:21 +02:00
Merge pull request #21463 from calixteman/fix_unit_test
Adjust the 'BaseException' unit-test for the 'Error.stack' changes in Firefox
This commit is contained in:
commit
d28030f838
@ -37,7 +37,6 @@ describe("util", function () {
|
|||||||
expect(exception.message).toEqual("Something went wrong");
|
expect(exception.message).toEqual("Something went wrong");
|
||||||
expect(exception.name).toEqual("DerivedException");
|
expect(exception.name).toEqual("DerivedException");
|
||||||
expect(exception.foo).toEqual("bar");
|
expect(exception.foo).toEqual("bar");
|
||||||
expect(exception.stack).toContain("BaseExceptionClosure");
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user