summaryrefslogtreecommitdiff
path: root/spec/javascripts/notes/components
diff options
context:
space:
mode:
authorLuke Bennett <lbennett@gitlab.com>2019-05-29 01:26:38 +0100
committerLuke Bennett <lbennett@gitlab.com>2019-05-29 03:07:00 +0100
commitdc8d5be0dfeb86b04e7c57e1d7323e1758cb11ac (patch)
treebb3d78eed172d297df92c5681492ed772747e559 /spec/javascripts/notes/components
parentd7e106b7b98563394f548cf1da6b59e1644fd5b8 (diff)
downloadgitlab-ce-karma-quarantine.tar.gz
Add karma spec quarantinekarma-quarantine
Used to remove certain troublesome specs from the main karma job and allow them to fail in different job.
Diffstat (limited to 'spec/javascripts/notes/components')
-rw-r--r--spec/javascripts/notes/components/note_app_spec.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/javascripts/notes/components/note_app_spec.js b/spec/javascripts/notes/components/note_app_spec.js
index f04af04f852..1ed699f498b 100644
--- a/spec/javascripts/notes/components/note_app_spec.js
+++ b/spec/javascripts/notes/components/note_app_spec.js
@@ -186,7 +186,7 @@ describe('note_app', () => {
expect(wrapper.find('.js-vue-issue-note-form').exists()).toBe(true);
});
- it('calls the service to update the note', done => {
+ it('QUARANTINE|calls the service to update the note', done => {
wrapper.find('.js-vue-issue-note-form').value = 'this is a note';
wrapper.find('.js-vue-issue-save').trigger('click');
@@ -221,7 +221,7 @@ describe('note_app', () => {
expect(wrapper.find('.js-vue-issue-note-form').exists()).toBe(true);
});
- it('updates the note and resets the edit form', done => {
+ it('QUARANTINE|updates the note and resets the edit form', done => {
wrapper.find('.js-vue-issue-note-form').value = 'this is a note';
wrapper.find('.js-vue-issue-save').trigger('click');
@@ -311,6 +311,7 @@ describe('note_app', () => {
},
});
const toggleAwardAction = jasmine.createSpy('toggleAward');
+ wrapper = mountComponent();
wrapper.vm.$store.hotUpdate({
actions: {
toggleAward: toggleAwardAction,