aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/manipulation.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js
index 28a62fe0b..ddb04c7d6 100644
--- a/test/unit/manipulation.js
+++ b/test/unit/manipulation.js
@@ -1797,7 +1797,13 @@ QUnit.test( "html(Function)", function( assert ) {
testHtml( manipulationFunctionReturningObj, assert );
} );
-QUnit[ QUnit.moduleTypeSupported ? "test" : "skip" ]( "html(script type module)", function( assert ) {
+QUnit[
+ // Support: Edge 16-17
+ // Edge sometimes doesn't execute module scripts so skip the test there.
+ ( QUnit.moduleTypeSupported && !/edge\//i.test( navigator.userAgent ) ) ?
+ "test" :
+ "skip"
+]( "html(script type module)", function( assert ) {
assert.expect( 4 );
var done = assert.async(),
$fixture = jQuery( "#qunit-fixture" );