Fixed eslint

This commit is contained in:
Phil Hughes 2017-03-16 15:15:51 +00:00
parent 8135ea993a
commit de93054e78
2 changed files with 8 additions and 6 deletions

View file

@ -1,4 +1,5 @@
/* global ListLabel */
/* global Cookies */
const Store = gl.issueBoards.BoardsStore;
export default {

View file

@ -1,7 +1,8 @@
/* global BoardService */
import Vue from 'vue';
import store from '~/boards/stores/boards_store';
import '~/boards/stores/boards_store';
import boardBlankState from '~/boards/components/board_blank_state';
import mockData from './mock_data';
import './mock_data';
describe('Boards blank state', () => {
let vm;
@ -27,7 +28,7 @@ describe('Boards blank state', () => {
id: 2,
title: 'Doing',
label: { id: 2 },
}]
}];
},
});
}
@ -43,15 +44,15 @@ describe('Boards blank state', () => {
it('renders pre-defined labels', () => {
expect(
vm.$el.querySelectorAll('.board-blank-state-list li').length
vm.$el.querySelectorAll('.board-blank-state-list li').length,
).toBe(2);
expect(
vm.$el.querySelectorAll('.board-blank-state-list li')[0].textContent.trim()
vm.$el.querySelectorAll('.board-blank-state-list li')[0].textContent.trim(),
).toEqual('To Do');
expect(
vm.$el.querySelectorAll('.board-blank-state-list li')[1].textContent.trim()
vm.$el.querySelectorAll('.board-blank-state-list li')[1].textContent.trim(),
).toEqual('Doing');
});