Fix transient dirty submit

parent adf71cfa
......@@ -13,6 +13,8 @@ function expectToToggleDisableOnDirtyUpdate(submit, input) {
}
describe('DirtySubmitForm', () => {
DirtySubmitForm.THROTTLE_DURATION = 0;
it('disables submit until there are changes', done => {
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