mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-16 06:49:31 +02:00
Add title to tests
This commit is contained in:
@@ -4,6 +4,7 @@ describe('packet structure', () => {
|
|||||||
it('should render a simple packet diagram', () => {
|
it('should render a simple packet diagram', () => {
|
||||||
imgSnapshotTest(
|
imgSnapshotTest(
|
||||||
`packet-beta
|
`packet-beta
|
||||||
|
title Hello world
|
||||||
0-10: "hello"
|
0-10: "hello"
|
||||||
`
|
`
|
||||||
);
|
);
|
||||||
@@ -37,6 +38,7 @@ describe('packet structure', () => {
|
|||||||
imgSnapshotTest(
|
imgSnapshotTest(
|
||||||
`
|
`
|
||||||
---
|
---
|
||||||
|
title: "Packet Diagram"
|
||||||
config:
|
config:
|
||||||
packet:
|
packet:
|
||||||
showBits: false
|
showBits: false
|
||||||
|
Reference in New Issue
Block a user