1
0
mirror of synced 2026-03-22 18:48:34 +08:00

feat(editor): service扩展支持设置成同步的

This commit is contained in:
roymondchen
2023-12-06 15:28:18 +08:00
parent 75dd89f2fe
commit 5c6a3455b0
9 changed files with 157 additions and 82 deletions

View File

@@ -365,7 +365,7 @@ describe('copy', () => {
test('正常', async () => {
const node = editorService.getNodeById(NodeId.NODE_ID2);
await editorService.copy(node!);
const str = await storageService.getItem(COPY_STORAGE_KEY);
const str = storageService.getItem(COPY_STORAGE_KEY);
expect(str).toHaveLength(1);
});
});