diff --git a/test/common/overlay/KnowledgeGraphSpec.js b/test/common/overlay/KnowledgeGraphSpec.js index ee4c9509a..afe9cafaa 100644 --- a/test/common/overlay/KnowledgeGraphSpec.js +++ b/test/common/overlay/KnowledgeGraphSpec.js @@ -319,7 +319,7 @@ describe('KnowledgeGraph', () => { var data = KnowledgeGraph.dataFromGraphMap(graphData, { styles: { style }, captionFields: { captionField: [captionField] }, - showRelationTypes: false + showRelationTypes: true }); expect(data.edges[0].label).toBe('邻接'); done();