mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat: bump blocksuite (#5953)
This commit is contained in:
@@ -37,7 +37,7 @@ describe('SyncEngine', () => {
|
||||
);
|
||||
syncEngine.start();
|
||||
|
||||
const page = workspace.createPage({
|
||||
const page = workspace.createDoc({
|
||||
id: 'page0',
|
||||
});
|
||||
page.load();
|
||||
|
||||
@@ -31,7 +31,7 @@ describe('SyncPeer', () => {
|
||||
);
|
||||
await syncPeer.waitForLoaded();
|
||||
|
||||
const page = workspace.createPage({
|
||||
const page = workspace.createDoc({
|
||||
id: 'page0',
|
||||
});
|
||||
page.load();
|
||||
@@ -79,7 +79,7 @@ describe('SyncPeer', () => {
|
||||
await syncPeer.waitForSynced();
|
||||
expect(syncPeer.status.step).toBe(SyncPeerStep.Synced);
|
||||
|
||||
const page = workspace.createPage({
|
||||
const page = workspace.createDoc({
|
||||
id: 'page0',
|
||||
});
|
||||
expect(syncPeer.status.step).toBe(SyncPeerStep.LoadingSubDoc);
|
||||
|
||||
Reference in New Issue
Block a user