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.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(workspace): make ci stable (#5496)
EYHN54c6b445ea19
diff --git a/packages/frontend/workspace-impl/src/local/__tests__/engine.spec.ts b/packages/frontend/workspace-impl/src/local/__tests__/engine.spec.tsindex 675b6b565c..30faa2f0ed 100644--- a/packages/frontend/workspace-impl/src/local/__tests__/engine.spec.ts+++ b/packages/frontend/workspace-impl/src/local/__tests__/engine.spec.ts@@ -22,7 +22,7 @@ describe('SyncEngine', () => {let prev: any;{const workspace = new Workspace({- id: 'test',+ id: 'test - syncengine - indexeddb',schema,});@@ -54,7 +54,7 @@ describe('SyncEngine', () => {{const workspace = new Workspace({- id: 'test',+ id: 'test - syncengine - indexeddb',schema,});@@ -73,7 +73,7 @@ describe('SyncEngine', () => {{const workspace = new Workspace({- id: 'test',+ id: 'test - syncengine - indexeddb',schema,});@@ -92,7 +92,7 @@ describe('SyncEngine', () => {{const workspace = new Workspace({- id: 'test',+ id: 'test - syncengine - indexeddb',schema,});@@ -111,10 +111,12 @@ describe('SyncEngine', () => {});test('status', async () => {- const ydoc = new Doc({ guid: 'test - status' });+ const ydoc = new Doc({ guid: 'test - syncengine - status' });const localStorage = createTestStorage(createIndexedDBStorage(ydoc.guid));- const remoteStorage = createTestStorage(createIndexedDBStorage(ydoc.guid));+ const remoteStorage = createTestStorage(+ createIndexedDBStorage(ydoc.guid + '1')+ );localStorage.pausePull();localStorage.pausePush();diff --git a/packages/frontend/workspace-impl/src/local/__tests__/peer.spec.ts b/packages/frontend/workspace-impl/src/local/__tests__/peer.spec.tsindex 1b0a8018aa..11e28dc232 100644--- a/packages/frontend/workspace-impl/src/local/__tests__/peer.spec.ts+++ b/packages/frontend/workspace-impl/src/local/__tests__/peer.spec.ts@@ -20,7 +20,7 @@ describe('SyncPeer', () => {let prev: any;{const workspace = new Workspace({- id: 'test',+ id: 'test - syncpeer - indexeddb',schema,});@@ -48,7 +48,7 @@ describe('SyncPeer', () => {{const workspace = new Workspace({- id: 'test',+ id: 'test - syncpeer - indexeddb',schema,});@@ -66,7 +66,7 @@ describe('SyncPeer', () => {test('status', async () => {const workspace = new Workspace({- id: 'test - status',+ id: 'test - syncpeer - status',schema,});