mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 12:54:08 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			360 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			360 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
/* eslint-env jest */
 | 
						|
import { imgSnapshotTest } from '../helpers/util.js'
 | 
						|
const { toMatchImageSnapshot } = require('jest-image-snapshot')
 | 
						|
 | 
						|
expect.extend({ toMatchImageSnapshot })
 | 
						|
 | 
						|
describe('Sequencediagram', () => {
 | 
						|
  it('should render a simple info diagrams', async () => {
 | 
						|
    await imgSnapshotTest(page, `
 | 
						|
    info
 | 
						|
       showInfo
 | 
						|
      `,
 | 
						|
    {})
 | 
						|
  })
 | 
						|
})
 |