diff --git a/packages/src/plugins/with-angular.spec.ts b/packages/src/plugins/with-angular.spec.ts index d307dbee..55f0b0ad 100644 --- a/packages/src/plugins/with-angular.spec.ts +++ b/packages/src/plugins/with-angular.spec.ts @@ -306,6 +306,6 @@ const getCommonPath = (oldPath, newPath) => { const validKey = (moveNodeEditor, matches) => { for (const [path, key] of matches) { const [node] = Editor.node(moveNodeEditor, path); - expect(NODE_TO_KEY.get(node).id === key.id); + expect(NODE_TO_KEY.get(node)).toEqual(key); } };