Commit de93054e authored by Phil Hughes's avatar Phil Hughes

Fixed eslint

parent 8135ea99
/* global ListLabel */
/* global Cookies */
const Store = gl.issueBoards.BoardsStore;
export default {
......
/* 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');
});
......
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