chore: bump blocksuite (#1298)

Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
Yifeng Wang
2023-03-04 04:17:06 +08:00
committed by GitHub
parent 50ff9b0c5c
commit 205092180b
14 changed files with 95 additions and 95 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ beforeEach(async () => {
})
.register(builtInSchemas)
.register(__unstableSchemas);
blockSuiteWorkspace.signals.pageAdded.on(pageId => {
blockSuiteWorkspace.slots.pageAdded.on(pageId => {
setTimeout(() => {
const page = blockSuiteWorkspace.getPage(pageId);
expect(page).not.toBeNull();
@@ -22,7 +22,7 @@ beforeEach(() => {
})
.register(builtInSchemas)
.register(__unstableSchemas);
blockSuiteWorkspace.signals.pageAdded.on(pageId => {
blockSuiteWorkspace.slots.pageAdded.on(pageId => {
const page = blockSuiteWorkspace.getPage(pageId) as Page;
const pageBlockId = page.addBlockByFlavour('affine:page', { title: '' });
const frameId = page.addBlockByFlavour('affine:frame', {}, pageBlockId);