Updated test case

This commit is contained in:
saurabhg772244 2024-08-20 12:48:57 +05:30
parent 99956b4283
commit 36f2989249

View File

@ -26,10 +26,24 @@ const newShapesSet3 = [
'crossedCircle', 'crossedCircle',
] as const; ] as const;
const newShapesSet4 = ['waveRectangle', 'trapezoidalPentagon', 'linedCylinder'] as const; const newShapesSet4 = [
'waveRectangle',
'trapezoidalPentagon',
'linedCylinder',
'waveEdgedRectangle',
'multiWaveEdgedRectangle',
] as const;
const newShapesSet5 = ['linedWaveEdgedRect', 'taggedWaveEdgedRectangle'];
// Aggregate all shape sets into a single array // Aggregate all shape sets into a single array
const newShapesSets = [newShapesSet1, newShapesSet2, newShapesSet3, newShapesSet4] as const; const newShapesSets = [
newShapesSet1,
newShapesSet2,
newShapesSet3,
newShapesSet4,
newShapesSet5,
] as const;
looks.forEach((look) => { looks.forEach((look) => {
directions.forEach((direction) => { directions.forEach((direction) => {
@ -72,7 +86,11 @@ looks.forEach((look) => {
newShapesSet.forEach((newShape, index) => { newShapesSet.forEach((newShape, index) => {
flowchartCode += ` n${index} --> n${index}${index}@{ shape: ${newShape}, label: 'This is **bold** </br>and <strong>strong</strong>' }@\n`; flowchartCode += ` n${index} --> n${index}${index}@{ shape: ${newShape}, label: 'This is **bold** </br>and <strong>strong</strong>' }@\n`;
}); });
imgSnapshotTest(flowchartCode, { look, htmlLabels: false }); imgSnapshotTest(flowchartCode, {
look,
htmlLabels: false,
flowchart: { htmlLabels: false },
});
}); });
it(`with styles`, () => { it(`with styles`, () => {