Merge branch 'develop' into sidv/typescript

* develop:
  Fix #3009 Update main
  #3243 Adding disabled testcase for diagram with leading \n
This commit is contained in:
Sidharth Vinod
2022-08-21 19:24:15 +05:30
3 changed files with 13 additions and 4 deletions

View File

@@ -14,7 +14,16 @@ describe('class diagram, ', function () {
parser.parse(str);
});
xit('should handle a leading newline axa', function () {
const str = '\nclassDiagram\n' + 'class Car';
try {
parser.parse(str);
// Fail test if above expression doesn't throw anything.
} catch (e) {
expect(true).toBe(false);
}
});
it('should handle relation definitions', function () {
const str =
'classDiagram\n' +