diff --git a/tests/flowchart-vsdx-export.test.js b/tests/flowchart-vsdx-export.test.js index 4cca8e4..0173c27 100644 --- a/tests/flowchart-vsdx-export.test.js +++ b/tests/flowchart-vsdx-export.test.js @@ -46,7 +46,9 @@ describe('flowchart-vsdx-export: pure module', () => { test('toVisioPageXml escapes XML-special characters in labels', () => { const xml = toVisioPageXml({ - nodes: [{ id: 'n1', kind: 'process', x: 0, y: 0, width: 120, height: 60, label: 'A & B ' }], + nodes: [ + { id: 'n1', kind: 'process', x: 0, y: 0, width: 120, height: 60, label: 'A & B ' }, + ], edges: [], }); expect(xml).toContain('A & B <c>');