From e0a3c7f2bc858be0b4bae515601965b9522fd4ed Mon Sep 17 00:00:00 2001 From: Peng Xiao Date: Thu, 17 Aug 2023 00:11:04 +0800 Subject: [PATCH] fix: disable secondary db test (#3774) --- apps/electron/src/helper/db/__tests__/ensure-db.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/electron/src/helper/db/__tests__/ensure-db.spec.ts b/apps/electron/src/helper/db/__tests__/ensure-db.spec.ts index 84a5935370..3dc36ed6ec 100644 --- a/apps/electron/src/helper/db/__tests__/ensure-db.spec.ts +++ b/apps/electron/src/helper/db/__tests__/ensure-db.spec.ts @@ -91,7 +91,8 @@ test('db should be removed in db$Map after destroyed', async () => { expect(db$Map.has(workspaceId)).toBe(false); }); -test('if db has a secondary db path, we should also poll that', async () => { +// we have removed secondary db feature +test.skip('if db has a secondary db path, we should also poll that', async () => { const { ensureSQLiteDB } = await import('../ensure-db'); const { storeWorkspaceMeta } = await import('../../workspace'); const workspaceId = v4();