Skip to content

Commit

Permalink
test: Don't run networkInfo tests against ie11 (#1221)
Browse files Browse the repository at this point in the history
Co-authored-by: Evan farina <[email protected]>
  • Loading branch information
evanfarina and evanfarina authored Nov 8, 2021
1 parent 061cf3c commit aaedde3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/videojs-http-streaming.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ QUnit.module('NetworkInformationApi', hooks => {
window.navigator = this.ogNavigator;
});

QUnit.test(
QUnit[testOrSkip](
'bandwidth returns networkInformation.downlink when useNetworkInformationApi option is enabled',
function(assert) {
this.resetNavigatorConnection({
Expand All @@ -1203,7 +1203,7 @@ QUnit.module('NetworkInformationApi', hooks => {
}
);

QUnit.test(
QUnit[testOrSkip](
'bandwidth uses player-estimated bandwidth when its value is greater than networkInformation.downLink and both values are >= 10 Mbps',
function(assert) {
this.resetNavigatorConnection({
Expand All @@ -1227,7 +1227,7 @@ QUnit.module('NetworkInformationApi', hooks => {
}
);

QUnit.test(
QUnit[testOrSkip](
'bandwidth uses network-information-api bandwidth when its value is less than the player bandwidth and 10 Mbps',
function(assert) {
this.resetNavigatorConnection({
Expand All @@ -1251,7 +1251,7 @@ QUnit.module('NetworkInformationApi', hooks => {
}
);

QUnit.test(
QUnit[testOrSkip](
'bandwidth uses player-estimated bandwidth when networkInformation is not supported',
function(assert) {
// Nullify the `connection` property on Navigator
Expand Down

0 comments on commit aaedde3

Please sign in to comment.