summaryrefslogtreecommitdiffstatshomepage
path: root/test/core/regressions.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/regressions.js')
-rw-r--r--test/core/regressions.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/core/regressions.js b/test/core/regressions.js
index 6a8c8e66..bd6c2277 100644
--- a/test/core/regressions.js
+++ b/test/core/regressions.js
@@ -246,6 +246,11 @@ describe("Core htmx Regression Tests", function(){
})
it("script tags only execute once using templates", function(done) {
+ if (!supportsTemplates()) {
+ this._runnable.title += " - Skipped as IE11 doesn't support templates"
+ this.skip()
+ return
+ }
var oldUseTemplateFragmentsValue = htmx.config.useTemplateFragments
htmx.config.useTemplateFragments = true
@@ -267,6 +272,11 @@ describe("Core htmx Regression Tests", function(){
})
it("script tags only execute once when nested using templates", function(done) {
+ if (!supportsTemplates()) {
+ this._runnable.title += " - Skipped as IE11 doesn't support templates"
+ this.skip()
+ return
+ }
var oldUseTemplateFragmentsValue = htmx.config.useTemplateFragments
htmx.config.useTemplateFragments = true