Fix transient dirty submit
This commit is contained in:
parent
adf71cfa75
commit
a87fe585f2
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue