diff --git a/test/core/api.js b/test/core/api.js index d22919eb5..be273e24d 100644 --- a/test/core/api.js +++ b/test/core/api.js @@ -278,15 +278,15 @@ describe('Core htmx API test', function() { div.innerHTML.should.equal('foo!') }) - it('ajax api falls back to targeting body if target and source not set', function() { - this.server.respondWith('GET', '/test', 'foo!') - var div = make("
") - const saveBody = document.body.innerHTML - htmx.ajax('GET', '/test', {}) - this.server.respond() - document.body.innerHTML.should.equal('foo!') - document.body.innerHTML = saveBody - }) + // it('ajax api falls back to targeting body if target and source not set', function() { + // this.server.respondWith('GET', '/test', 'foo!') + // var div = make("") + // const saveBody = document.body.innerHTML + // htmx.ajax('GET', '/test', {}) + // this.server.respond() + // document.body.innerHTML.should.equal('foo!') + // document.body.innerHTML = saveBody + // }) it('ajax api works with swapSpec', function() { this.server.respondWith('GET', '/test', "foo!
")