mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-09 10:36:43 +02:00
fix: use new frontmatter in test case
on-behalf-of: @Mermaid-Chart <hello@mermaidchart.com>
This commit is contained in:
@@ -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);
|
{}
|
||||||
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user