Skip to content

Commit

Permalink
Merge pull request #4416 from MikeJeffers/bug/4408
Browse files Browse the repository at this point in the history
Fix #4408: Handle wrapping long words
  • Loading branch information
sidharthv96 committed Jun 8, 2023
2 parents d00d20f + 0ad0841 commit f464212
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 2,101 deletions.
11 changes: 11 additions & 0 deletions cypress/integration/rendering/mindmap.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,17 @@ root[A root with a long text that wraps to keep the node size in check]
);
});

it('a root with wrapping text and long words that exceed width', () => {
imgSnapshotTest(
`mindmap
root[A few smaller words but then averylongsetofcharacterswithoutwhitespacetoseparate that we expect to wrapontonextlinesandnotexceedwidthparameters]
`,
{},
undefined,
shouldHaveRoot
);
});

it('a root with an icon', () => {
imgSnapshotTest(
`mindmap
Expand Down

0 comments on commit f464212

Please sign in to comment.