You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//all actions of this hook depend on parameters passed by the user, if non are provided we should just stop the hook
if(!parameters)return;
constbrowser=awaitpuppeteer.launch();
//mermaid has this strange behaviour that it generates the id of the diagram using current date which makes it totally not possible to test
//we override date.now() here to make sure always the same number is returned, which is also fine for produciton as only one diagram will be on index.html