From 092c15a37c16a1b4997f862917118b4b70f653f1 Mon Sep 17 00:00:00 2001 From: Daniel Bartholomae Date: Sun, 28 Aug 2022 17:01:39 +0200 Subject: [PATCH] Test all different types of systems --- src/diagrams/c4/parser/c4System.spec.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/diagrams/c4/parser/c4System.spec.js b/src/diagrams/c4/parser/c4System.spec.js index fa0a4b089..6d81c7379 100644 --- a/src/diagrams/c4/parser/c4System.spec.js +++ b/src/diagrams/c4/parser/c4System.spec.js @@ -6,7 +6,14 @@ setConfig({ securityLevel: 'strict', }); -describe.each([['System', 'system']])('parsing a C4 %s', function (macroName, elementName) { +describe.each([ + ['System', 'system'], + ['SystemDb', 'system_db'], + ['SystemQueue', 'system_queue'], + ['System_Ext', 'external_system'], + ['SystemDb_Ext', 'external_system_db'], + ['SystemQueue_Ext', 'external_system_queue'], +])('parsing a C4 %s', function (macroName, elementName) { beforeEach(function () { c4.parser.yy = c4Db; c4.parser.yy.clear();