Fix transient dirty submit

This commit is contained in:
Luke Bennett 2019-02-25 22:17:11 +00:00
parent adf71cfa75
commit a87fe585f2
No known key found for this signature in database
GPG key ID: 402ED51FB5D306C2

View file

@ -13,6 +13,8 @@ function expectToToggleDisableOnDirtyUpdate(submit, input) {
} }
describe('DirtySubmitForm', () => { describe('DirtySubmitForm', () => {
DirtySubmitForm.THROTTLE_DURATION = 0;
it('disables submit until there are changes', done => { it('disables submit until there are changes', done => {
const { form, input, submit } = createForm(); const { form, input, submit } = createForm();