From cb45889acadbe2e852cdf4db1ff760249c8cd59b Mon Sep 17 00:00:00 2001 From: mathuo <6710312+mathuo@users.noreply.github.com> Date: Sun, 29 Dec 2024 13:55:54 +0000 Subject: [PATCH] chore: sonar fixes --- .../src/__tests__/dockview/dockviewComponent.spec.ts | 1 - packages/dockview-core/src/api/component.api.ts | 2 +- packages/dockview-core/src/paneview/paneviewComponent.ts | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/dockview-core/src/__tests__/dockview/dockviewComponent.spec.ts b/packages/dockview-core/src/__tests__/dockview/dockviewComponent.spec.ts index 2c4f09c10..0be413221 100644 --- a/packages/dockview-core/src/__tests__/dockview/dockviewComponent.spec.ts +++ b/packages/dockview-core/src/__tests__/dockview/dockviewComponent.spec.ts @@ -5082,7 +5082,6 @@ describe('dockviewComponent', () => { '.dv-content-container > .testpanel-panel_3' ).length ).toBe(0); - expect(dockview.element); }); test('move popout group of 1 panel inside grid', async () => { diff --git a/packages/dockview-core/src/api/component.api.ts b/packages/dockview-core/src/api/component.api.ts index 9073ce096..6884c93aa 100644 --- a/packages/dockview-core/src/api/component.api.ts +++ b/packages/dockview-core/src/api/component.api.ts @@ -38,7 +38,7 @@ import { DockviewGroupPanel, IDockviewGroupPanel, } from '../dockview/dockviewGroupPanel'; -import { Emitter, Event } from '../events'; +import { Event } from '../events'; import { IDockviewPanel } from '../dockview/dockviewPanel'; import { PaneviewDidDropEvent } from '../paneview/draggablePaneviewPanel'; import { diff --git a/packages/dockview-core/src/paneview/paneviewComponent.ts b/packages/dockview-core/src/paneview/paneviewComponent.ts index 2ee9d5820..86c87a690 100644 --- a/packages/dockview-core/src/paneview/paneviewComponent.ts +++ b/packages/dockview-core/src/paneview/paneviewComponent.ts @@ -15,7 +15,6 @@ import { } from './draggablePaneviewPanel'; import { DefaultHeader } from './defaultPaneviewHeader'; import { sequentialNumberGenerator } from '../math'; -import { PaneTransfer } from '../dnd/dataTransfer'; import { Resizable } from '../resizable'; import { Parameters } from '../panel/types'; import { Classnames } from '../dom';