mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-27 03:09:43 +02:00
#918 Fix for issue with nodes starting with a number in a subgraph
This commit is contained in:
@@ -149,6 +149,12 @@ describe('Flowcart', () => {
|
||||
{})
|
||||
})
|
||||
|
||||
it('should render labels with numbers at the start', async () => {
|
||||
await imgSnapshotTest(page, `
|
||||
graph TB;subgraph "number as labels";1;end;
|
||||
`,
|
||||
{})
|
||||
})
|
||||
it('should render subgraphs', async () => {
|
||||
await imgSnapshotTest(page, `
|
||||
graph TB
|
||||
|
Reference in New Issue
Block a user