mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Update packages
Jasmine had a major version bump and required a few minor changes in our booting code. Most notably, using `pending` in a `describe` block is no longer supported, so we can only return early there. On the positive side, the unit tests now run in a random order by default, which eliminates any dependencies between unit tests. Note that upgrading to Webpack 4 is out of scope for this patch since the bots cannot work well with the newly generated bundles (both browsers on both bots do not react within 120 seconds). Webpack 4 is not faster for us than Webpack 3, so for now there is no need to upgrade.
This commit is contained in:
parent
db6e316efd
commit
95de23e6e3
6 changed files with 61 additions and 37 deletions
|
@ -83,7 +83,7 @@ describe('evaluator', function() {
|
|||
});
|
||||
});
|
||||
|
||||
it('should handle one operations', function(done) {
|
||||
it('should handle one operation', function(done) {
|
||||
var stream = new StringStream('Q');
|
||||
runOperatorListCheck(partialEvaluator, stream, new ResourcesMock(),
|
||||
function(result) {
|
||||
|
@ -108,7 +108,7 @@ describe('evaluator', function() {
|
|||
});
|
||||
});
|
||||
|
||||
it('should handle tree glued operations', function(done) {
|
||||
it('should handle three glued operations', function(done) {
|
||||
var stream = new StringStream('fff');
|
||||
runOperatorListCheck(partialEvaluator, stream, new ResourcesMock(),
|
||||
function (result) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue