mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08: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
|
|
`,
|
|
{})
|
|
})
|
|
})
|