Commit 615c14b2 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'fix-transient-dirty-submit' into 'master'

Fix transient dirty submit spec

Closes #58154

See merge request gitlab-org/gitlab-ce!25541
parents c3316b18 a87fe585
...@@ -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