mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-03 20:34:20 +01:00 
			
		
		
		
	Added missing integration tests and release version in docs.
This commit is contained in:
		@@ -330,6 +330,48 @@ describe('Gantt diagram', () => {
 | 
			
		||||
    );
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  it('should render a gantt diagram with tick is 2 milliseconds', () => {
 | 
			
		||||
    imgSnapshotTest(
 | 
			
		||||
      `
 | 
			
		||||
      gantt
 | 
			
		||||
        title A Gantt Diagram
 | 
			
		||||
        dateFormat   SSS
 | 
			
		||||
        axisFormat   %Lms
 | 
			
		||||
        tickInterval 2millisecond
 | 
			
		||||
        excludes     weekends
 | 
			
		||||
 | 
			
		||||
        section Section
 | 
			
		||||
        A task           : a1, 000, 6ms
 | 
			
		||||
        Another task     : after a1, 6ms
 | 
			
		||||
        section Another
 | 
			
		||||
        Task in sec      : a2, 006, 3ms
 | 
			
		||||
        another task     : 3ms
 | 
			
		||||
      `,
 | 
			
		||||
      {}
 | 
			
		||||
    );
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  it('should render a gantt diagram with tick is 2 seconds', () => {
 | 
			
		||||
    imgSnapshotTest(
 | 
			
		||||
      `
 | 
			
		||||
      gantt
 | 
			
		||||
        title A Gantt Diagram
 | 
			
		||||
        dateFormat   ss
 | 
			
		||||
        axisFormat   %Ss
 | 
			
		||||
        tickInterval 2second
 | 
			
		||||
        excludes     weekends
 | 
			
		||||
 | 
			
		||||
        section Section
 | 
			
		||||
        A task           : a1, 00, 6s
 | 
			
		||||
        Another task     : after a1, 6s
 | 
			
		||||
        section Another
 | 
			
		||||
        Task in sec      : 06, 3s
 | 
			
		||||
        another task     : 3s
 | 
			
		||||
      `,
 | 
			
		||||
      {}
 | 
			
		||||
    );
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  it('should render a gantt diagram with tick is 15 minutes', () => {
 | 
			
		||||
    imgSnapshotTest(
 | 
			
		||||
      `
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user