diff options
author | Luke Bennett <lbennett@gitlab.com> | 2019-02-25 22:17:11 +0000 |
---|---|---|
committer | Luke Bennett <lbennett@gitlab.com> | 2019-03-01 17:07:03 +0000 |
commit | a87fe585f23b78732af31d636bf134a90781ca4c (patch) | |
tree | 7e523bfa088230fdb31ba63dc80b61be089cecbf /spec/javascripts | |
parent | adf71cfa75fb07c54cb2f55126d1f8596e3ab5c3 (diff) | |
download | gitlab-ce-a87fe585f23b78732af31d636bf134a90781ca4c.tar.gz |
Fix transient dirty submit
Diffstat (limited to 'spec/javascripts')
-rw-r--r-- | spec/javascripts/dirty_submit/dirty_submit_form_spec.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/javascripts/dirty_submit/dirty_submit_form_spec.js b/spec/javascripts/dirty_submit/dirty_submit_form_spec.js index ae2a785de52..95cc90dcb0f 100644 --- a/spec/javascripts/dirty_submit/dirty_submit_form_spec.js +++ b/spec/javascripts/dirty_submit/dirty_submit_form_spec.js @@ -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(); |