mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 12:54:08 +01:00 
			
		
		
		
	add e2e test
This commit is contained in:
		@@ -562,6 +562,20 @@ class C13["With Città foreign language"]
 | 
			
		||||
      `
 | 
			
		||||
    );
 | 
			
		||||
  });
 | 
			
		||||
  it('should add notes in namespaces', function () {
 | 
			
		||||
    imgSnapshotTest(
 | 
			
		||||
      `
 | 
			
		||||
      classDiagram
 | 
			
		||||
      note "This is a outer note"
 | 
			
		||||
      note for C1 "This is a outer note for C1"
 | 
			
		||||
      namespace Namespace1 {
 | 
			
		||||
        note "This is a inner note"
 | 
			
		||||
        note for C1 "This is a inner note for C1"
 | 
			
		||||
        class C1
 | 
			
		||||
      }
 | 
			
		||||
      `
 | 
			
		||||
    );
 | 
			
		||||
  });
 | 
			
		||||
  it('should render a simple class diagram with no members', () => {
 | 
			
		||||
    imgSnapshotTest(
 | 
			
		||||
      `
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user