add tests for #6795

This commit is contained in:
Hashan Chandika
2025-07-27 14:53:28 +05:30
parent cf5b4b89a8
commit ac04172cf8
3 changed files with 49 additions and 0 deletions

View File

@@ -354,4 +354,19 @@ ORDER ||--|{ LINE-ITEM : contains
{ logLevel: 1 }
);
});
describe('Include char sequence "graph" in text (#6795)', () => {
it('has a label with char sequence "graph"', () => {
imgSnapshotTest(
`
erDiagram
p[Photograph] {
varchar(12) jobId
date dateCreated
}
`,
{ flowchart: { defaultRenderer: 'elk' } }
);
});
});
});