mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-10-31 10:54:15 +01:00 
			
		
		
		
	fix: tests
This commit is contained in:
		| @@ -12,10 +12,10 @@ async function createServer() { | ||||
|     appType: 'custom', // don't include Vite's default HTML handling middlewares | ||||
|   }); | ||||
|  | ||||
|   app.use(vite.middlewares); | ||||
|   app.use(express.static('dist')); | ||||
|   app.use(express.static('demos')); | ||||
|   app.use(express.static('cypress/platform')); | ||||
|   app.use(vite.middlewares); | ||||
|  | ||||
|   app.listen(9000, () => { | ||||
|     console.log(`Listening on http://localhost:9000`); | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|   <head> | ||||
|     <meta charset="utf-8" /> | ||||
|     <!-- <meta charset="iso-8859-15"/> --> | ||||
|     <script src="/e2e.esm.mjs" type="module"></script> | ||||
|     <script src="./viewer.js" type="module" /> | ||||
|     <!-- <link href="https://fonts.googleapis.com/css?family=Mansalva&display=swap" rel="stylesheet" /> --> | ||||
|     <link | ||||
|       href="https://fonts.googleapis.com/css?family=Noto+Sans+SC&display=swap" | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| import { Base64 } from 'js-base64'; | ||||
| import { Base64 } from '../../node_modules/js-base64'; | ||||
| import mermaid2 from '../../src/mermaid'; | ||||
|  | ||||
| /** | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| <html> | ||||
|   <head> | ||||
|     <script src="/e2e.esm.mjs" type="module"></script> | ||||
|     <script src="./viewer.js" type="module"></script> | ||||
|     <link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet" /> | ||||
|     <style> | ||||
|       .malware { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sidharth Vinod
					Sidharth Vinod