Merge pull request #4496 from moka-care/bug/4439_graph_doesnt_load_when_img_fail_to_load

Fix graph not loading when the img loads too fast or fail to load
This commit is contained in:
Sidharth Vinod
2023-07-18 07:57:38 +00:00
committed by GitHub
2 changed files with 23 additions and 4 deletions

View File

@@ -695,6 +695,15 @@ A ~~~ B
{}
);
});
it('4439: Should render the graph even if some images are missing', () => {
imgSnapshotTest(
`flowchart TD
B[<img>]
B-->C[<img>]`,
{}
);
});
describe('Markdown strings flowchart (#4220)', () => {
describe('html labels', () => {
it('With styling and classes', () => {