mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-22 17:43:36 +00:00
test: mock MQ connection health check
This commit is contained in:
@@ -49,6 +49,7 @@ describe("connectionStore MQ sidebar tree", () => {
|
||||
|
||||
vi.doMock("@/lib/tauriRuntime", () => ({ isTauriRuntime: () => false }));
|
||||
vi.doMock("@/lib/api", () => ({
|
||||
checkConnectionHealth: vi.fn().mockResolvedValue(undefined),
|
||||
deleteSchemaCachePrefix: vi.fn().mockResolvedValue(undefined),
|
||||
listDatabases: vi.fn().mockResolvedValue([]),
|
||||
loadSchemaCache: vi.fn().mockResolvedValue(null),
|
||||
|
||||
Reference in New Issue
Block a user