Updating cypress tests

This commit is contained in:
Knut Sveidqvist
2019-09-18 18:25:06 +02:00
parent 23e6df04d4
commit 21622f575b
11 changed files with 175 additions and 116 deletions

View File

@@ -0,0 +1,28 @@
/* 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
`,
{}
);
});
});