Commit a0dc3923 authored by Tim Zallmann's avatar Tim Zallmann

Fix Linting Error

parent aaca5ff7
...@@ -47,7 +47,6 @@ const REGEX_QUICK_ACTIONS = /^\/\w+.*$/gm; ...@@ -47,7 +47,6 @@ const REGEX_QUICK_ACTIONS = /^\/\w+.*$/gm;
export default class Notes { export default class Notes {
static initialize(notes_url, note_ids, last_fetched_at, view, enableGFM) { static initialize(notes_url, note_ids, last_fetched_at, view, enableGFM) {
alert('LALA');
if (!this.instance) { if (!this.instance) {
this.instance = new Notes(notes_url, note_ids, last_fetched_at, view, enableGFM); this.instance = new Notes(notes_url, note_ids, last_fetched_at, view, enableGFM);
} }
......
...@@ -138,7 +138,6 @@ describe('DiffsStoreMutations', () => { ...@@ -138,7 +138,6 @@ describe('DiffsStoreMutations', () => {
const fileHash = 123; const fileHash = 123;
const state = { diffFiles: [{}, { fileHash, existingField: 0 }] }; const state = { diffFiles: [{}, { fileHash, existingField: 0 }] };
const file = { fileHash };
const data = { diff_files: [{ file_hash: fileHash, extra_field: 1, existingField: 1 }] }; const data = { diff_files: [{ file_hash: fileHash, extra_field: 1, existingField: 1 }] };
mutations[types.ADD_COLLAPSED_DIFFS](state, { file: state.diffFiles[1], data }); mutations[types.ADD_COLLAPSED_DIFFS](state, { file: state.diffFiles[1], data });
......
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