Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: disable secondary db test (#3774)

Peng Xiaoe0a3c7f2bc85
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();