mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-29 22:11:22 +00:00
remove history nav from boost tests
This commit is contained in:
parent
b763f91207
commit
fea1ffe378
@ -3,7 +3,7 @@ var fs = require('fs-extra');
|
||||
|
||||
console.log(config.version)
|
||||
|
||||
var testRoot = "www/tests/" + config.version;
|
||||
var testRoot = "www/test/" + config.version;
|
||||
fs.ensureDirSync(testRoot);
|
||||
fs.copySync("node_modules/mocha/mocha.js", testRoot + "/node_modules/mocha/mocha.js");
|
||||
fs.copySync("node_modules/mocha/mocha.css", testRoot + "/node_modules/mocha/mocha.css");
|
||||
|
@ -16,7 +16,6 @@ describe("kt-boost attribute", function() {
|
||||
a.click();
|
||||
this.server.respond();
|
||||
div.innerHTML.should.equal("Boosted");
|
||||
history.back();
|
||||
})
|
||||
|
||||
|
||||
@ -28,7 +27,6 @@ describe("kt-boost attribute", function() {
|
||||
btn.click();
|
||||
this.server.respond();
|
||||
div.innerHTML.should.equal("Boosted");
|
||||
history.back();
|
||||
})
|
||||
|
||||
it('handles basic form get properly', function () {
|
||||
@ -38,7 +36,6 @@ describe("kt-boost attribute", function() {
|
||||
btn.click();
|
||||
this.server.respond();
|
||||
div.innerHTML.should.equal("Boosted");
|
||||
history.back();
|
||||
})
|
||||
|
||||
it('handles basic form with no explicit method property', function () {
|
||||
@ -48,7 +45,6 @@ describe("kt-boost attribute", function() {
|
||||
btn.click();
|
||||
this.server.respond();
|
||||
div.innerHTML.should.equal("Boosted");
|
||||
history.back();
|
||||
})
|
||||
|
||||
|
||||
|
@ -16,7 +16,6 @@ describe("kt-boost attribute", function() {
|
||||
a.click();
|
||||
this.server.respond();
|
||||
div.innerHTML.should.equal("Boosted");
|
||||
history.back();
|
||||
})
|
||||
|
||||
|
||||
@ -28,7 +27,6 @@ describe("kt-boost attribute", function() {
|
||||
btn.click();
|
||||
this.server.respond();
|
||||
div.innerHTML.should.equal("Boosted");
|
||||
history.back();
|
||||
})
|
||||
|
||||
it('handles basic form get properly', function () {
|
||||
@ -38,7 +36,6 @@ describe("kt-boost attribute", function() {
|
||||
btn.click();
|
||||
this.server.respond();
|
||||
div.innerHTML.should.equal("Boosted");
|
||||
history.back();
|
||||
})
|
||||
|
||||
it('handles basic form with no explicit method property', function () {
|
||||
@ -48,7 +45,6 @@ describe("kt-boost attribute", function() {
|
||||
btn.click();
|
||||
this.server.respond();
|
||||
div.innerHTML.should.equal("Boosted");
|
||||
history.back();
|
||||
})
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user