Skip to content

Commit

Permalink
new unit throws on promise errors
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonocasey committed Aug 30, 2018
1 parent 6809bd0 commit 40110a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/eme.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ QUnit.test('accepts a license URL as an option', function(assert) {
'com.widevine.alpha': 'some-url'
}
}
});
}).catch((e) => {});

const session = new videojs.EventTarget();

Expand Down Expand Up @@ -318,7 +318,7 @@ QUnit.test('accepts a license URL as property', function(assert) {
}
}
}
});
}).catch((e) => {});

callbacks.requestMediaKeySystemAccess({
keySystem: 'com.widevine.alpha',
Expand Down Expand Up @@ -444,7 +444,7 @@ QUnit.test('5 July 2016 lifecycle', function(assert) {
initData: '',
options,
eventBus
});
}).catch((e) => {});

// Step 1: get key system
assert.equal(callCounts.requestMediaKeySystemAccess, 1, 'access requested');
Expand Down

0 comments on commit 40110a4

Please sign in to comment.