mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-05-28 21:14:12 +00:00
Fix tests
This commit is contained in:
parent
607e8c199a
commit
b4da7291e5
@ -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');
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user