#945 Some cleanup

This commit is contained in:
Knut Sveidqvist
2019-10-05 09:02:20 +02:00
parent 65cbfbdb40
commit d4306e61c2
6 changed files with 323 additions and 427 deletions

View File

@@ -16,27 +16,6 @@ describe('state diagram, ', function() {
`;
parser.parse(str);
expect(stateDb.getRelations()).toEqual([
{ id1: 'start1', id2: 'State1' },
{ id1: 'State1', id2: 'end1' }
]);
expect(stateDb.getStates()).toEqual({
State1: {
id: 'State1',
type: 'default',
descriptions: []
},
end1: {
id: 'end1',
type: 'end',
descriptions: []
},
start1: {
id: 'start1',
type: 'start',
descriptions: []
}
});
});
it('simple', function() {
const str = `stateDiagram\n