Skip to content

Commit

Permalink
exit test volume early if html5 not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatsev committed Jan 18, 2017
1 parent 5232429 commit acd9046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/tech/html5.test.js
Expand Up @@ -101,8 +101,8 @@ QUnit.test('test defaultPlaybackRate', function(assert) {
});

QUnit.test('test volume', function(assert) {
if (!Html5.canControlVolume()) {
assert.ok(true, 'Volume is not supported');
if (!Html5.isSupported() && !Html5.canControlVolume()) {
assert.ok(true, 'Html5 or Volume is not supported');
return;
}

Expand Down

0 comments on commit acd9046

Please sign in to comment.