fix: use new frontmatter in test case

on-behalf-of: @Mermaid-Chart <hello@mermaidchart.com>
This commit is contained in:
darshanr0107
2025-08-20 18:12:44 +05:30
parent d2c5cbd408
commit dabc220ed2

View File

@@ -226,7 +226,12 @@ timeline
); );
}); });
it('13: should render markdown htmlLabels', () => { it('13: should render markdown htmlLabels', () => {
const timelineCode = `%%{init: { 'logLevel': 'debug', 'theme': 'forest' } }%% imgSnapshotTest(
`---
config:
theme: forest
---
timeline timeline
title Timeline of Industrial Revolution title Timeline of Industrial Revolution
section 17th-20th century section 17th-20th century
@@ -236,7 +241,8 @@ timeline
section 21st century section 21st century
Industry 4.0 : Internet, Robotics, Internet of Things Industry 4.0 : Internet, Robotics, Internet of Things
Industry 5.0 : Artificial intelligence, Big data, 3D printing Industry 5.0 : Artificial intelligence, Big data, 3D printing
`; `,
imgSnapshotTest(timelineCode); {}
);
}); });
}); });