Commit a87fe585 authored by Luke Bennett's avatar Luke Bennett

Fix transient dirty submit

parent adf71cfa
...@@ -13,6 +13,8 @@ function expectToToggleDisableOnDirtyUpdate(submit, input) { ...@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment