mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-02-17 11:26:42 +00:00
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…
x
Reference in New Issue
Block a user