fix: update tidy tree test cases

on-behalf-of: @Mermaid-Chart <hello@mermaidchart.com>
This commit is contained in:
darshanr0107
2025-08-20 17:44:44 +05:30
parent 6377d6f64d
commit c88f74a6ee

View File

@@ -3,10 +3,7 @@ import { imgSnapshotTest } from '../../helpers/util.ts';
describe('Mindmap Tidy Tree', () => {
it('1-tidy-tree: should render a simple mindmap without children', () => {
imgSnapshotTest(
` ---
config:
layout: tidy-tree
---
`
mindmap
root((mindmap))
A
@@ -16,10 +13,7 @@ describe('Mindmap Tidy Tree', () => {
});
it('2-tidy-tree: should render a simple mindmap', () => {
imgSnapshotTest(
` ---
config:
layout: tidy-tree
---
`
mindmap
root((mindmap is a long thing))
A
@@ -31,10 +25,7 @@ describe('Mindmap Tidy Tree', () => {
});
it('3-tidy-tree: should render a mindmap with different shapes', () => {
imgSnapshotTest(
` ---
config:
layout: tidy-tree
---
`
mindmap
root((mindmap))
Origins
@@ -58,10 +49,7 @@ describe('Mindmap Tidy Tree', () => {
});
it('4-tidy-tree: should render a mindmap with children', () => {
imgSnapshotTest(
` ---
config:
layout: tidy-tree
---
`
mindmap
((This is a mindmap))
child1