updated test for icon shape

This commit is contained in:
saurabhg772244
2024-09-09 15:07:42 +05:30
parent 4d04d1a8c3
commit edb99c2842
2 changed files with 17 additions and 7 deletions

View File

@@ -109,3 +109,13 @@ looks.forEach((look) => {
});
});
});
describe('Test iconShape with different h', () => {
it('with different h', () => {
let flowchartCode = `flowchart TB\n`;
const icon = 'fa:bell';
const iconHeight = 64;
flowchartCode += ` nA --> nAA@{ icon: '${icon}', label: 'icon with different h', h: ${iconHeight} }@\n`;
imgSnapshotTest(flowchartCode);
});
});