Version: 2.0.5
var input = make('<input name="foo" value="bar"/>') var vals = htmx._('getInputValues')(input).values vals.foo.should.equal('bar')