Adding support for parentheses

This commit is contained in:
Maho Pacheco
2022-12-06 10:38:21 -08:00
parent fdf261bda3
commit 4dadf8a72d
4 changed files with 23 additions and 6 deletions

View File

@@ -182,6 +182,20 @@ describe('Entity Relationship Diagram', () => {
cy.get('svg');
});
it('should render entities with length in attributes type', () => {
renderGraph(
`
erDiagram
CLUSTER {
varchar(99) name
string(255) description
}
`,
{ logLevel: 1 }
);
cy.get('svg');
});
it('should render entities and attributes with big and small entity names', () => {
renderGraph(
`