Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
teyc committed Dec 19, 2024
1 parent 9fa81d9 commit e109c9d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions packages/mermaid/src/diagrams/usecase/parser/usecase.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,18 @@ describe('Usecase diagram', function () {

const relationships = usecase.yy.getRelationships();
expect(relationships).toStrictEqual([
new UsecaseLink(new UsecaseNode('User'), new UsecaseNode('(Start)'), '->'),
new UsecaseLink(new UsecaseNode('User'), new UsecaseNode('(Use the application)'), '-->'),
new UsecaseLink(new UsecaseNode('User'), new UsecaseNode('(Start)'), '->', ''),
new UsecaseLink(
new UsecaseNode('User'),
new UsecaseNode('(Use the application)'),
'-->',
''
),
new UsecaseLink(
new UsecaseNode('(Use the application)'),
new UsecaseNode('(Another use case)'),
'-->'
'-->',
''
),
]);
});
Expand Down

0 comments on commit e109c9d

Please sign in to comment.