summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-10-04 14:44:43 +0100
committerPhil Hughes <me@iamphill.com>2017-10-10 10:14:23 +0100
commit6c97107d37771522d1deec6007a791332270ba6f (patch)
tree07d8cf2d1dcd22af5eb4d41ebd81dd53204d4832 /spec
parentbbf7ea24a560e22c3b51326d2413a6f8d6f0a530 (diff)
downloadgitlab-ce-6c97107d37771522d1deec6007a791332270ba6f.tar.gz
fixed eslint
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/flash_spec.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/javascripts/flash_spec.js b/spec/javascripts/flash_spec.js
index 1feb31f5c4f..66cc76ee626 100644
--- a/spec/javascripts/flash_spec.js
+++ b/spec/javascripts/flash_spec.js
@@ -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', () => {