fix tests

This commit is contained in:
Sidharth Vinod
2023-01-16 13:18:16 +05:30
parent 4d3f151cf0
commit d320e788c7
4 changed files with 12 additions and 0 deletions

View File

@@ -94,6 +94,9 @@
// document.querySelector('#diagram').innerHTML = diagram;
mermaid.render('diagram', diagram, (res) => {
document.querySelector('#res').innerHTML = res;
if (window.Cypress) {
window.rendered = true;
}
});
</script>
</body>