Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
de93054e
Commit
de93054e
authored
Mar 16, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed eslint
parent
8135ea99
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
app/assets/javascripts/boards/components/board_blank_state.js
...assets/javascripts/boards/components/board_blank_state.js
+1
-0
spec/javascripts/boards/board_blank_state_spec.js
spec/javascripts/boards/board_blank_state_spec.js
+7
-6
No files found.
app/assets/javascripts/boards/components/board_blank_state.js
View file @
de93054e
/* global ListLabel */
/* global Cookies */
const
Store
=
gl
.
issueBoards
.
BoardsStore
;
export
default
{
...
...
spec/javascripts/boards/board_blank_state_spec.js
View file @
de93054e
/* 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
'
);
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment