diff --git a/plugins/catalog-graph/src/components/EntityRelationsGraph/useEntityRelationNodesAndEdges.test.tsx b/plugins/catalog-graph/src/components/EntityRelationsGraph/useEntityRelationNodesAndEdges.test.tsx index b896fe1ed3..ad70111fa0 100644 --- a/plugins/catalog-graph/src/components/EntityRelationsGraph/useEntityRelationNodesAndEdges.test.tsx +++ b/plugins/catalog-graph/src/components/EntityRelationsGraph/useEntityRelationNodesAndEdges.test.tsx @@ -593,10 +593,10 @@ describe('useEntityRelationNodesAndEdges', () => { expect(edges).toEqual([ { distance: 1, - from: 'b:d/c2', + from: 'b:d/c1', label: 'visible', - relations: ['partOf', 'hasPart'], - to: 'b:d/c1', + relations: ['hasPart', 'partOf'], + to: 'b:d/c2', }, { distance: 1,