Add title to tests

This commit is contained in:
Sidharth Vinod
2023-11-15 00:59:34 +05:30
parent fc400ea57b
commit b6983e4b21

View File

@@ -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