Skip to content

Commit

Permalink
test(editor): 修改editor相关测试用例
Browse files Browse the repository at this point in the history
  • Loading branch information
parisma committed Aug 2, 2022
1 parent 3af7bb0 commit b77c1d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/tests/unit/services/editor.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ describe('copy', () => {
const node = editorService.getNodeById(NodeId.NODE_ID2);
await editorService.copy(node!);
const str = globalThis.localStorage.getItem(COPY_STORAGE_KEY);
expect(str).toBe(JSON.stringify(node));
expect(str).toBe(JSON.stringify([node]));
});
});

Expand Down

0 comments on commit b77c1d3

Please sign in to comment.