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。

chore(test): fix frontend format drift

Melody Ruche65c3ab9149f
diff --git a/apps/desktop/src/stores/__tests__/connectionStore.oneTimeCleanup.spec.ts b/apps/desktop/src/stores/__tests__/connectionStore.oneTimeCleanup.spec.ts
index 7ed4b0b98e..4c567d71c9 100644
--- a/apps/desktop/src/stores/__tests__/connectionStore.oneTimeCleanup.spec.ts
+++ b/apps/desktop/src/stores/__tests__/connectionStore.oneTimeCleanup.spec.ts
@@ -86,9 +86,7 @@ describe("connectionStore one_time runtime cleanup", () => {
it("initFromDisk preserves an open one_time connection during a persisted-list reload", async () => {
installApiMocks();
const { loadConnections } = await import("@/lib/backend/api");
- vi.mocked(loadConnections).mockResolvedValue([
- previewConnection({ id: "saved-1", name: "Saved", one_time: false }),
- ]);
+ vi.mocked(loadConnections).mockResolvedValue([previewConnection({ id: "saved-1", name: "Saved", one_time: false })]);
const { useConnectionStore } = await import("@/stores/connectionStore");
const store = useConnectionStore();
store.connections = [previewConnection({ id: "deeplink-1", name: "Deeplink", one_time: true })];