mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Allow changing cardinality notation in ERD to use Chen notation. #5832
This commit is contained in:
@@ -291,13 +291,6 @@ describe('ERDCore', ()=>{
|
||||
]));
|
||||
});
|
||||
|
||||
it('dagreDistributeNodes', ()=>{
|
||||
spyOn(erdCoreObj.dagre_engine, 'redistribute');
|
||||
erdCoreObj.dagreDistributeNodes();
|
||||
expect(erdEngine.getLinkFactories().getFactory().calculateRoutingMatrix).toHaveBeenCalled();
|
||||
expect(erdCoreObj.dagre_engine.redistribute).toHaveBeenCalledWith(erdEngine.getModel());
|
||||
});
|
||||
|
||||
it('zoomIn', ()=>{
|
||||
spyOn(erdEngine.getModel(), 'getZoomLevel').and.returnValue(100);
|
||||
spyOn(erdCoreObj, 'repaint');
|
||||
|
||||
Reference in New Issue
Block a user