fixed tests

This commit is contained in:
Klemek
2019-07-16 11:27:00 +02:00
parent 4b5a488f98
commit 5876a0d345
+1 -1
View File
@@ -123,7 +123,7 @@ describe('getIcon', () => {
describe('getLinkPath (non-regression)', () => {
['default', 'line', 'double', 'split-double', 'dashed', 'dashed-line', 'dashed-double', 'dashed-split-double'].forEach(type => {
data[type] = {};
linkPaths[type] = {};
[1, 1.5, 2].forEach(width => {
test(type + ' ' + width, () => {
expect(rendering().getLinkPath(type, width)).toEqual(linkPaths[type][width]);