From aaedde37cd6674c014a25c13687a282824ba994d Mon Sep 17 00:00:00 2001 From: Evan Farina Date: Mon, 8 Nov 2021 15:21:31 -0500 Subject: [PATCH] test: Don't run networkInfo tests against ie11 (#1221) Co-authored-by: Evan farina --- test/videojs-http-streaming.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/videojs-http-streaming.test.js b/test/videojs-http-streaming.test.js index 2825d6c9..a55f65c7 100644 --- a/test/videojs-http-streaming.test.js +++ b/test/videojs-http-streaming.test.js @@ -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({ @@ -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({ @@ -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({ @@ -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