mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-21 06:53:17 +08:00
Test all different types of systems
This commit is contained in:
parent
65c73f2eec
commit
092c15a37c
@ -6,7 +6,14 @@ setConfig({
|
|||||||
securityLevel: 'strict',
|
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 () {
|
beforeEach(function () {
|
||||||
c4.parser.yy = c4Db;
|
c4.parser.yy = c4Db;
|
||||||
c4.parser.yy.clear();
|
c4.parser.yy.clear();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user