mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-10-31 10:54:15 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			318 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			318 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import { imgSnapshotTest } from '../../helpers/util.ts';
 | |
| 
 | |
| describe('Zen UML', () => {
 | |
|   it('Basic Zen UML diagram', () => {
 | |
|     imgSnapshotTest(
 | |
|       `
 | |
|     zenuml
 | |
| 			A.method() {
 | |
|         if(x) {
 | |
|           B.method() {
 | |
|             selfCall() { return X }
 | |
|           }
 | |
|         }
 | |
|       }
 | |
|     `,
 | |
|       {}
 | |
|     );
 | |
|   });
 | |
| });
 | 
