Add visual test

This commit is contained in:
Sidharth Vinod 2024-03-23 16:35:47 +05:30
parent 64757670fc
commit 94874ddbbe
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
1 changed files with 12 additions and 0 deletions

View File

@ -904,6 +904,18 @@ end
);
});
});
it('should not auto wrap when markdownAutoWrap is false', () => {
imgSnapshotTest(
`flowchart TD
angular_velocity["\`**angular_velocity**
*angular_displacement / duration*
[rad/s, 1/s]
{vector}\`"]
frequency["frequency\n(1 / period_duration)\n[Hz, 1/s]"]`,
{ markdownAutoWrap: false }
);
});
});
describe('Subgraph title margins', () => {
it('Should render subgraphs with title margins set (LR)', () => {