BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
6c97107d
Unverified
Commit
6c97107d
authored
Oct 04, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed eslint
parent
bbf7ea24
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
flash.js
app/assets/javascripts/flash.js
+0
-0
flash_spec.js
spec/javascripts/flash_spec.js
+2
-3
No files found.
app/assets/javascripts/flash.js
View file @
6c97107d
spec/javascripts/flash_spec.js
View file @
6c97107d
...
...
@@ -135,7 +135,6 @@ describe('Flash', () => {
describe
(
'createFlash'
,
()
=>
{
describe
(
'no flash-container'
,
()
=>
{
it
(
'does not add to the DOM'
,
()
=>
{
const
el
=
flash
(
'test'
);
const
flashEl
=
flash
(
'testing'
);
expect
(
...
...
@@ -185,7 +184,7 @@ describe('Flash', () => {
expect
(
document
.
querySelector
(
'.flash-text'
).
className
,
).
toBe
(
'flash-text container-fluid container-limited'
)
).
toBe
(
'flash-text container-fluid container-limited'
)
;
});
it
(
'does not add container when outside of content-wrapper'
,
()
=>
{
...
...
@@ -194,7 +193,7 @@ describe('Flash', () => {
expect
(
document
.
querySelector
(
'.flash-text'
).
className
,
).
toBe
(
'flash-text'
)
).
toBe
(
'flash-text'
)
;
});
it
(
'removes element after clicking'
,
()
=>
{
...
...
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