Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Update dependencies and fix test that fails in Safari. #77

Merged
merged 2 commits into from
Mar 14, 2019

Conversation

misteroneill
Copy link
Member

@misteroneill misteroneill commented Mar 14, 2019

Dependencies were pretty out of date and I noticed that the tests were failing in Safari, but for a test that didn't need to run in Safari.

test/eme.test.js Outdated
@@ -494,6 +494,13 @@ QUnit.test('5 July 2016 lifecycle', function(assert) {
});

QUnit.test('getSupportedKeySystem error', function(assert) {

// Skip this test in Safari, getSupportedKeySystem is never used in Safari.
if (videojs.browser.IS_ANY_SAFARI) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may be better to wrap this test in this check, so that we don't have a false positive for this test on safari.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reasonable! 👍

@misteroneill misteroneill changed the title ignore: Update dependencies and fix test that fails in Safari. test: Update dependencies and fix test that fails in Safari. Mar 14, 2019
@misteroneill misteroneill merged commit 5238d08 into master Mar 14, 2019
@misteroneill misteroneill deleted the ignore/deps branch March 14, 2019 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants