test(import): assert correct number of children
This commit is contained in:
parent
c685c0fcce
commit
5f986dcb3a
|
@ -186,6 +186,8 @@ describe('import - importer', function() {
|
||||||
// then
|
// then
|
||||||
expect(startEventShape.type).toBe('bpmn:StartEvent');
|
expect(startEventShape.type).toBe('bpmn:StartEvent');
|
||||||
expect(startEventShape.parent).toBe(subProcessShape);
|
expect(startEventShape.parent).toBe(subProcessShape);
|
||||||
|
|
||||||
|
expect(subProcessShape.children.length).toBe(5);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue