fix: broken test

This commit is contained in:
Knut Sveidqvist 2022-01-28 16:14:58 +01:00
parent 384afc1a6d
commit 46cdacfdc7

View File

@ -11,9 +11,9 @@
</div> </div>
<script src="./mermaid.js"></script> <script src="./mermaid.js"></script>
<script>mermaid.init({ startOnLoad: false, securityLevel: 'sandbox' }); <script>mermaid.init({ startOnLoad: false });
mermaid.mermaidAPI.initialize({ securityLevel: 'sandbox' }); mermaid.mermaidAPI.initialize({ securityLevel: 'strict' });
try { try {
console.log('rendering'); console.log('rendering');