mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-05 23:29:37 +02:00
test(generic): add generic type unit test
This commit is contained in:
@@ -69,5 +69,6 @@ describe('generic parser', function () {
|
|||||||
'test <Array<Array<string[]>>>'
|
'test <Array<Array<string[]>>>'
|
||||||
);
|
);
|
||||||
expect(parseGenericTypes('~test')).toEqual('~test');
|
expect(parseGenericTypes('~test')).toEqual('~test');
|
||||||
|
expect(parseGenericTypes('~test Array~string~')).toEqual('~test Array<string>');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user