Added missing hx-include to test

This commit is contained in:
Ben Croker 2021-01-22 10:02:12 +01:00 committed by GitHub
parent 10e068fcaa
commit 3414e0ed69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,7 @@ describe("hx-include attribute", function() {
params['i1'].should.deep.equal(["test", "test2"]);
xhr.respond(200, {}, "Clicked!")
});
var div = make('<div hx-target="this">' +
var div = make('<div hx-include="*" hx-target="this">' +
'<input hx-post="/include" hx-trigger="click" id="i1" name="i1" value="test"/>' +
'<input name="i1" value="test2"/>' +
'</div>')