Skip to content

Commit

Permalink
test(er): add cypress test on entity name alias
Browse files Browse the repository at this point in the history
  • Loading branch information
tomperr committed Aug 22, 2023
1 parent a7ae1b6 commit e79ebde
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions cypress/integration/rendering/erDiagram.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,4 +305,21 @@ ORDER ||--|{ LINE-ITEM : contains
{}
);
});

it('should render entities with aliases', () => {
renderGraph(
`
erDiagram
p[Person] {
varchar(64) firstName
varchar(64) lastName
}
c["Customer Account"] {
varchar(128) email
}
p ||--o| c : has
`,
{ logLevel: 1 }
);
});
});

0 comments on commit e79ebde

Please sign in to comment.