#3243 Adding disabled testcase for diagram with leading \n

This commit is contained in:
Knut Sveidqvist
2022-08-21 11:05:13 +02:00
parent a89b6fd054
commit 280c7e8da1
2 changed files with 11 additions and 2 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' +