Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

test(layout): align tab bar resize assertion with pointerdown handle

t8y21464d3367775
diff --git a/apps/desktop/src/components/layout/__tests__/EditorGroupTabBar.groups.spec.ts b/apps/desktop/src/components/layout/__tests__/EditorGroupTabBar.groups.spec.ts
index a33e19d3b3..102fc9aa68 100644
--- a/apps/desktop/src/components/layout/__tests__/EditorGroupTabBar.groups.spec.ts
+++ b/apps/desktop/src/components/layout/__tests__/EditorGroupTabBar.groups.spec.ts
@@ -255,7 +255,7 @@ describe("EditorGroupTabBar vertical placement", () => {
expect(workspaceSource).toContain("@start-resize=\"emit('start-resize', $event)\"");
expect(groupSource).toContain(':tab-bar-width="tabBarWidth"');
// Dragging any pane's handle drives the shared resize handler.
- expect(source).toContain("@mousedown=\"emit('start-resize', $event)\"");
+ expect(source).toContain("@pointerdown=\"emit('start-resize', $event)\"");
expect(source).toContain("@click=\"emit('toggle-collapse')\"");
});