summaryrefslogtreecommitdiff
path: root/spec/javascripts/notes
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2019-03-27 21:33:20 +0000
committerClement Ho <clemmakesapps@gmail.com>2019-03-27 21:33:20 +0000
commit4f0b2079dedef24778e6176c0e1f814cdb739a90 (patch)
treeb8384954bbbec913ec3817b517258f9e16f53539 /spec/javascripts/notes
parent04431d5e616949c09146666e7961d515595c4036 (diff)
downloadgitlab-ce-4f0b2079dedef24778e6176c0e1f814cdb739a90.tar.gz
Upgraded Vue to 2.6.8
Upgrade to latest Version
Diffstat (limited to 'spec/javascripts/notes')
-rw-r--r--spec/javascripts/notes/components/note_app_spec.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/javascripts/notes/components/note_app_spec.js b/spec/javascripts/notes/components/note_app_spec.js
index d716ece3766..ef876dc2941 100644
--- a/spec/javascripts/notes/components/note_app_spec.js
+++ b/spec/javascripts/notes/components/note_app_spec.js
@@ -192,9 +192,9 @@ describe('note_app', () => {
expect(service.updateNote).toHaveBeenCalled();
// Wait for the requests to finish before destroying
- Vue.nextTick()
- .then(done)
- .catch(done.fail);
+ setTimeout(() => {
+ done();
+ });
});
});
@@ -227,9 +227,9 @@ describe('note_app', () => {
expect(service.updateNote).toHaveBeenCalled();
// Wait for the requests to finish before destroying
- Vue.nextTick()
- .then(done)
- .catch(done.fail);
+ setTimeout(() => {
+ done();
+ });
});
});
});