Commit de93054e authored by Phil Hughes's avatar Phil Hughes

Fixed eslint

parent 8135ea99
/* global ListLabel */ /* global ListLabel */
/* global Cookies */
const Store = gl.issueBoards.BoardsStore; const Store = gl.issueBoards.BoardsStore;
export default { export default {
......
/* global BoardService */
import Vue from 'vue'; 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 boardBlankState from '~/boards/components/board_blank_state';
import mockData from './mock_data'; import './mock_data';
describe('Boards blank state', () => { describe('Boards blank state', () => {
let vm; let vm;
...@@ -27,7 +28,7 @@ describe('Boards blank state', () => { ...@@ -27,7 +28,7 @@ describe('Boards blank state', () => {
id: 2, id: 2,
title: 'Doing', title: 'Doing',
label: { id: 2 }, label: { id: 2 },
}] }];
}, },
}); });
} }
...@@ -43,15 +44,15 @@ describe('Boards blank state', () => { ...@@ -43,15 +44,15 @@ describe('Boards blank state', () => {
it('renders pre-defined labels', () => { it('renders pre-defined labels', () => {
expect( expect(
vm.$el.querySelectorAll('.board-blank-state-list li').length vm.$el.querySelectorAll('.board-blank-state-list li').length,
).toBe(2); ).toBe(2);
expect( 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'); ).toEqual('To Do');
expect( 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'); ).toEqual('Doing');
}); });
......
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