chore: remove unused e2e tests file
This commit is contained in:
parent
985eda2dee
commit
6eae46b927
|
@ -1,31 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<title>Mermaid Quick Test Page</title>
|
||||
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="graph"></div>
|
||||
|
||||
<script type="module">
|
||||
import mermaid from './mermaid.esm.mjs';
|
||||
await mermaid.initialize({ startOnLoad: false });
|
||||
await mermaid.run();
|
||||
|
||||
const searchParams = new URLSearchParams(location.search);
|
||||
const graphStr = searchParams.get('graphStr ');
|
||||
const errorGraphStr = searchParams.get('errorGraphStr ');
|
||||
|
||||
await mermaid.mermaidAPI.initialize({ securityLevel: 'strict' });
|
||||
try {
|
||||
console.log('rendering');
|
||||
await mermaid.mermaidAPI.render('graphDiv', errorGraphStr);
|
||||
} catch (e) {}
|
||||
|
||||
const { svg } = await mermaid.mermaidAPI.render('graphDiv', graphStr);
|
||||
document.getElementById('graph').innerHTML = svg;
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue