more unit tests

This commit is contained in:
Klemek
2019-07-16 11:01:57 +02:00
parent 22e20f3b8d
commit ffbb7cf205
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -256,6 +256,8 @@ Here are the accepted types and their preview :
![](preview/links.svg) ![](preview/links.svg)
You can use **`none`** to make an invisible link.
(soon) (soon)
### Font styles ### Font styles
+4
View File
@@ -125,6 +125,10 @@ describe('getLinkPath (non-regression)', () => {
}); });
}); });
}); });
test('none', () => {
expect(rendering().getLinkPath('none', 1)).toEqual(null);
});
}); });
describe('getBounds', () => { describe('getBounds', () => {