From 6a97d1230e3e7c1615d58c9304a13bdbd5e62b1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Murat=20=C3=87orlu?=
<127687+muratcorlu@users.noreply.github.com>
Date: Tue, 26 Jul 2022 13:33:02 +0200
Subject: [PATCH] refactor(tooltip): lint warnings are fixed (#170)
---
src/components/tooltip/bl-tooltip.css | 4 +-
src/components/tooltip/bl-tooltip.test.ts | 69 +++++++++++++++--------
src/components/tooltip/bl-tooltip.ts | 65 +++++++++++----------
3 files changed, 84 insertions(+), 54 deletions(-)
diff --git a/src/components/tooltip/bl-tooltip.css b/src/components/tooltip/bl-tooltip.css
index 992c150d..907ef1dc 100644
--- a/src/components/tooltip/bl-tooltip.css
+++ b/src/components/tooltip/bl-tooltip.css
@@ -40,7 +40,7 @@
top: var(--bl-tooltip-arrow-top);
bottom: var(--bl-tooltip-arrow-bottom);
right: var(--bl-tooltip-arrow-right);
- left: var(--bl-tooltip-arrow-left)
+ left: var(--bl-tooltip-arrow-left);
}
.visible {
@@ -49,4 +49,4 @@
.hidden {
--bl-tooltip-visibility: hidden;
-}
\ No newline at end of file
+}
diff --git a/src/components/tooltip/bl-tooltip.test.ts b/src/components/tooltip/bl-tooltip.test.ts
index 3dac7a12..bd7ed49b 100644
--- a/src/components/tooltip/bl-tooltip.test.ts
+++ b/src/components/tooltip/bl-tooltip.test.ts
@@ -1,9 +1,8 @@
-import { assert, elementUpdated, expect, fixture, html,oneEvent } from '@open-wc/testing';
+import { assert, elementUpdated, expect, fixture, html, oneEvent } from '@open-wc/testing';
import { sendMouse } from '@web/test-runner-commands';
import BlTooltip from './bl-tooltip';
import type typeOfBlTooltip from './bl-tooltip';
-
describe('bl-tooltip', () => {
it('should be defined tooltip instance', () => {
//when
@@ -21,11 +20,11 @@ describe('bl-tooltip', () => {
assert.shadowDom.equal(
el,
`
-