diff --git a/test/core/ajax.js b/test/core/ajax.js index 21ad6981..3d2382bd 100644 --- a/test/core/ajax.js +++ b/test/core/ajax.js @@ -1156,17 +1156,17 @@ describe('Core htmx AJAX Tests', function() { values.should.deep.equal({ t1: 'textValue', b1: ['inputValue', 'buttonValue'] }) }) - it('properly handles inputs external to form', function () { - if (!supportsFormAttribute()) { - this._runnable.title += " - Skipped as IE11 doesn't support form attribute" - this.skip() - return - } - var values; - this.server.respondWith("Post", "/test", function (xhr) { - values = getParameters(xhr); - xhr.respond(204, {}, ""); - }); + it('properly handles inputs external to form', function() { + if (!supportsFormAttribute()) { + this._runnable.title += " - Skipped as IE11 doesn't support form attribute" + this.skip() + return + } + var values + this.server.respondWith('Post', '/test', function(xhr) { + values = getParameters(xhr) + xhr.respond(204, {}, '') + }) make('
' + ' ' + @@ -1211,13 +1211,13 @@ describe('Core htmx AJAX Tests', function() { responded.should.equal(true) }) - it("can associate submit buttons from outside a form with the current version of the form after swap", function(){ - if (!supportsFormAttribute()) { - this._runnable.title += " - Skipped as IE11 doesn't support form attribute" - this.skip() - return - } - const template = '