mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-24 01:39:53 +02:00
Format
This commit is contained in:
@@ -203,7 +203,7 @@ describe('mermaidAPI', () => {
|
|||||||
const base64encodedSrc = toBase64(
|
const base64encodedSrc = toBase64(
|
||||||
'<body style="' + 'margin:0' + '">' + inputSvgCode + '</body>'
|
'<body style="' + 'margin:0' + '">' + inputSvgCode + '</body>'
|
||||||
);
|
);
|
||||||
const expectedSrc = 'src="data:text/html;charset=UTF-8;base64,' + base64encodedSrc + '"'
|
const expectedSrc = 'src="data:text/html;charset=UTF-8;base64,' + base64encodedSrc + '"';
|
||||||
|
|
||||||
const result = putIntoIFrame(inputSvgCode);
|
const result = putIntoIFrame(inputSvgCode);
|
||||||
expect(result).toContain(expectedSrc);
|
expect(result).toContain(expectedSrc);
|
||||||
|
Reference in New Issue
Block a user