mirror of
https://github.com/sartography/cr-connect-bpmn.git
synced 2025-01-27 00:59:11 +00:00
wip on a test
This commit is contained in:
parent
8e0b870dad
commit
147853f79f
@ -514,5 +514,13 @@ describe('WorkflowSpecListComponent', () => {
|
||||
expect(_deleteWorkflowSpecSpy).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('should call gitPush', () => {
|
||||
const mockComment = 'my comment';
|
||||
const gitPushSpy = spyOn((component as any), 'gitPush').and.stub();
|
||||
const dialogSpy = spyOn(component.dialog, 'open')
|
||||
.and.returnValue({afterClosed: () => of (mockComment)} as any);
|
||||
component.gitPush();
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user