refactor(editor): reduce dependency to doc collection (#9492)
This commit is contained in:
@@ -436,7 +436,7 @@ describe('addBlock', () => {
|
||||
called = true;
|
||||
});
|
||||
|
||||
collection.setDocMeta('doc:home', { favorite: true });
|
||||
collection.meta.setDocMeta('doc:home', { favorite: true });
|
||||
assert.deepEqual(
|
||||
collection.meta.docMetas.map(({ id, title, favorite }) => ({
|
||||
id,
|
||||
|
||||
Reference in New Issue
Block a user