Merge branch 'mermaid-js:develop' into convert-cypress-util-to-ts

This commit is contained in:
Yokozuna59
2023-07-17 15:31:11 +03:00
committed by GitHub
14 changed files with 395 additions and 287 deletions

View File

@@ -200,6 +200,27 @@ describe('Entity Relationship Diagram', () => {
);
});
it('should render entities with attributes that begin with asterisk', () => {
imgSnapshotTest(
`
erDiagram
BOOK {
int *id
string name
varchar(99) summary
}
BOOK }o..o{ STORE : soldBy
STORE {
int *id
string name
varchar(50) address
}
`,
{ loglevel: 1 }
);
cy.get('svg');
});
it('should render entities with keys', () => {
renderGraph(
`