fix(zookeeper): open new queries in key browser

This commit is contained in:
zipg authored and GitHub committed 2026-07-16 17:30:19 +08:00
1 parent badb3b61b9
commit efe883f0d8
3 files changed
+51 -1

No files matched your search

@@ -28,6 +28,14 @@ describe("quickConnectionOpenTarget", () => {
expect(quickConnectionOpenTarget(connection("nacos"))).toEqual({ kind: "nacos-admin" });
});
it("opens Etcd connections in the key browser", () => {
expect(quickConnectionOpenTarget(connection("etcd"))).toEqual({ kind: "etcd" });
});
it("opens ZooKeeper connections in the key browser", () => {
expect(quickConnectionOpenTarget(connection("zookeeper"))).toEqual({ kind: "zookeeper" });
});
it("opens regular connections in a query tab", () => {
expect(quickConnectionOpenTarget({ ...connection("postgresql"), database: "app" })).toEqual({
kind: "query",