From e109c9d593b97b5aa1e561732ec3f9a56ca0e465 Mon Sep 17 00:00:00 2001 From: Chui Tey Date: Fri, 20 Dec 2024 09:24:27 +1000 Subject: [PATCH] Fix test --- .../src/diagrams/usecase/parser/usecase.spec.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/mermaid/src/diagrams/usecase/parser/usecase.spec.ts b/packages/mermaid/src/diagrams/usecase/parser/usecase.spec.ts index 99126d416f..078063b1d2 100644 --- a/packages/mermaid/src/diagrams/usecase/parser/usecase.spec.ts +++ b/packages/mermaid/src/diagrams/usecase/parser/usecase.spec.ts @@ -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)'), - '-->' + '-->', + '' ), ]); });