mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
29 lines
497 B
JavaScript
29 lines
497 B
JavaScript
/* eslint-env jest */
|
|
import { imgSnapshotTest } from '../../helpers/util.js';
|
|
|
|
describe('Sequencediagram', () => {
|
|
it('should render a simple git graph', () => {
|
|
imgSnapshotTest(
|
|
`
|
|
gitGraph:
|
|
options
|
|
{
|
|
"nodeSpacing": 150,
|
|
"nodeRadius": 10
|
|
}
|
|
end
|
|
commit
|
|
branch newbranch
|
|
checkout newbranch
|
|
commit
|
|
commit
|
|
checkout master
|
|
commit
|
|
commit
|
|
merge newbranch
|
|
`,
|
|
{}
|
|
);
|
|
});
|
|
});
|