29 lines
497 B
JavaScript
Raw Normal View History

/* eslint-env jest */
2019-09-18 18:25:06 +02:00
import { imgSnapshotTest } from '../../helpers/util.js';
describe('Sequencediagram', () => {
it('should render a simple git graph', () => {
2019-09-18 18:25:06 +02:00
imgSnapshotTest(
`
gitGraph:
options
{
"nodeSpacing": 150,
"nodeRadius": 10
}
end
commit
branch newbranch
checkout newbranch
commit
commit
checkout master
commit
commit
merge newbranch
`,
2019-09-18 18:25:06 +02:00
{}
);
});
});