Skip to content

Commit fdadd6a

Browse files
committed
test: verify remoteForm installs on form element.
1 parent 3ec7f20 commit fdadd6a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/test.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ describe('remoteForm', function () {
4646
})
4747

4848
it('installs remoteForm on form reference', function (done) {
49-
remoteForm(htmlForm, async () => done())
49+
remoteForm(htmlForm, async form => {
50+
assert.equal(form, htmlForm)
51+
done()
52+
})
53+
5054
document.querySelector('button[type=submit]').click()
5155
})
5256

0 commit comments

Comments
 (0)