Fix tests

This commit is contained in:
ziajka 2018-05-21 13:15:58 +02:00
parent 607e8c199a
commit b4da7291e5

View File

@ -36,7 +36,7 @@ describe('SvgToDrawingHelper', () => {
it('should parse element even when is text between', () => {
const svg = '<svg height="53" width="78"> <text>Label</text> </svg>';
const drawing: TextElement = svgToDrawingConverter.convert(svg);
const drawing: TextElement = svgToDrawingConverter.convert(svg) as TextElement;
expect(drawing.text).toEqual('Label');
});