Skip to content

Commit e274a93

Browse files
committed
update test
1 parent 36d4bd9 commit e274a93

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/converter.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,10 @@ describe("convertToMermaid - Neighborhood Mode", () => {
281281
const result = convertToMermaid(testCrate, {
282282
});
283283

284-
// Should contain all person nodes
285-
expect(result).toContain("#Awi_Heole");
286-
expect(result).toContain("#Ilawi_Amosa");
287-
expect(result).toContain("#contributor-Hatton");
284+
// Should contain all person nodes (by their name labels, since IDs get sanitized for Mermaid)
285+
expect(result).toContain("Awi Heole");
286+
expect(result).toContain("Ilawi Amosa");
287+
expect(result).toContain("Hatton");
288288

289289
// Should have participant edge (with namespace prefix preserved)
290290
expect(result).toContain("|ldac:participant|");

0 commit comments

Comments
 (0)