@@ -76,7 +76,7 @@ exports[`test welcome page should render arango page correctly 1`] = `
7676 const dbHost = \\"arangodb.learndatabases.dev\\";
7777 const username = \\"\\";
7878 const dbPassword = \\"\\";
79- const dbExists = ;
79+ const dbExists = \\"\\" ;
8080 const database = \\"Arango\\";
8181
8282 const credentials = document.createElement(\\"pre\\");
@@ -104,7 +104,7 @@ exports[`test welcome page should render arango page correctly 1`] = `
104104 return hljs .highlightAuto (code ).value ;
105105 },
106106 } );
107- const markedHTML = marked(r);
107+ const markedHTML = marked.parse (r);
108108 const markedHTMLwithUserData = markedHTML
109109 .replace(/@username/gi, username)
110110 .replace(/@dbPassword/gi, dbPassword);
@@ -266,7 +266,7 @@ exports[`test welcome page should render elasticsearch page correctly 1`] = `
266266 const dbHost = \\"elastic.learndatabases.dev\\";
267267 const username = \\"\\";
268268 const dbPassword = \\"\\";
269- const dbExists = ;
269+ const dbExists = \\"\\" ;
270270 const database = \\"Elasticsearch\\";
271271
272272 const credentials = document.createElement(\\"pre\\");
@@ -294,7 +294,7 @@ exports[`test welcome page should render elasticsearch page correctly 1`] = `
294294 return hljs .highlightAuto (code ).value ;
295295 },
296296 } );
297- const markedHTML = marked(r);
297+ const markedHTML = marked.parse (r);
298298 const markedHTMLwithUserData = markedHTML
299299 .replace(/@username/gi, username)
300300 .replace(/@dbPassword/gi, dbPassword);
@@ -456,7 +456,7 @@ exports[`test welcome page should render postgres page correctly 1`] = `
456456 const dbHost = \\"learndatabases.dev\\";
457457 const username = \\"\\";
458458 const dbPassword = \\"\\";
459- const dbExists = ;
459+ const dbExists = \\"\\" ;
460460 const database = \\"Postgres\\";
461461
462462 const credentials = document.createElement(\\"pre\\");
@@ -484,7 +484,7 @@ exports[`test welcome page should render postgres page correctly 1`] = `
484484 return hljs .highlightAuto (code ).value ;
485485 },
486486 } );
487- const markedHTML = marked(r);
487+ const markedHTML = marked.parse (r);
488488 const markedHTMLwithUserData = markedHTML
489489 .replace(/@username/gi, username)
490490 .replace(/@dbPassword/gi, dbPassword);
0 commit comments