mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-05-31 22:40:43 +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', () => {
|
it('should parse element even when is text between', () => {
|
||||||
const svg = '<svg height="53" width="78"> <text>Label</text> </svg>';
|
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');
|
expect(drawing.text).toEqual('Label');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user