mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
Refactor code smells in unit tests
This commit is contained in:
parent
e3c90ac084
commit
34e89098f5
@ -276,7 +276,7 @@ class C13["With Città foreign language"]
|
||||
});
|
||||
|
||||
it('should handle note with "link" in it', function () {
|
||||
const str = 'classDiagram\n' + 'note "test"\n';
|
||||
const str = 'classDiagram\n' + 'note "link"\n';
|
||||
parser.parse(str);
|
||||
});
|
||||
|
||||
@ -285,11 +285,6 @@ class C13["With Città foreign language"]
|
||||
parser.parse(str);
|
||||
});
|
||||
|
||||
it('should handle note with "link" in it', function () {
|
||||
const str = 'classDiagram\n' + 'note "test"\n';
|
||||
parser.parse(str);
|
||||
});
|
||||
|
||||
it('should handle note with "note" in it', function () {
|
||||
const str = 'classDiagram\n' + 'note "note"\n';
|
||||
parser.parse(str);
|
||||
|
Loading…
x
Reference in New Issue
Block a user