summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorSimon Knox <psimyn@gmail.com>2017-11-27 16:39:28 +1100
committerSimon Knox <psimyn@gmail.com>2017-11-29 00:44:01 +1100
commit82bf8f4d13a8a61988f65f045b091bfc6502e7d7 (patch)
treec19398a2fea1460dea01bad0987ccc013d0d43c8 /spec
parent0315803bc6da2185010f5ff6e60d44f6df059960 (diff)
downloadgitlab-ce-diff-note.tar.gz
fix lintdiff-note
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/diff_notes/components/diff_note_avatars_spec.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/javascripts/diff_notes/components/diff_note_avatars_spec.js b/spec/javascripts/diff_notes/components/diff_note_avatars_spec.js
index ba071e67b53..4d0abe6d183 100644
--- a/spec/javascripts/diff_notes/components/diff_note_avatars_spec.js
+++ b/spec/javascripts/diff_notes/components/diff_note_avatars_spec.js
@@ -5,11 +5,10 @@ import { createNote } from '../mock_data';
describe('diff_note_avatars', () => {
let vm;
- let notes;
let discussion;
beforeEach(() => {
- notes = jasmine.createSpyObj('notes', ['onAddDiffNote']);
+ window.notes = jasmine.createSpyObj('notes', ['onAddDiffNote']);
const Component = Vue.extend(DiffNoteAvatars);
const discussionId = '1234abcd';