[AAE-1883] document list preset unit tests (#5519)

* document list preset unit tests

* remove useless tests

* remove useless tests

* remove even more garbage

* remove junk
This commit is contained in:
Denys Vuika
2020-02-28 13:26:01 +00:00
committed by GitHub
parent b5d443f2a8
commit a9b49a1eb7
41 changed files with 127 additions and 664 deletions

View File

@@ -47,11 +47,6 @@ describe('AttachFileWidgetDialogService', () => {
});
});
it('should be able to create the service', () => {
expect(service).not.toBeNull();
expect(service).toBeDefined();
});
it('should be able to open the dialog when node has permission', () => {
service.openLogin('fake-title', 'fake-action');
expect(spyOnDialogOpen).toHaveBeenCalled();

View File

@@ -68,10 +68,6 @@ describe('FormComponent UI and visibility', () => {
TestBed.resetTestingModule();
});
it('should create instance of FormComponent', () => {
expect(fixture.componentInstance instanceof FormComponent).toBe(true, 'should create FormComponent');
});
describe('Validation icon', () => {
it('should display valid icon for valid form', () => {

View File

@@ -476,10 +476,6 @@ describe('CustomProcessListComponent', () => {
component = fixture.componentInstance;
});
it('should create instance of CustomProcessListComponent', () => {
expect(component instanceof CustomProcessListComponent).toBe(true, 'should create CustomProcessListComponent');
});
it('should fetch custom schemaColumn from html', () => {
fixture.detectChanges();
expect(component.processList.columns).toBeDefined();

View File

@@ -70,10 +70,6 @@ describe('StartFormComponent', () => {
TestBed.resetTestingModule();
});
it('should create instance of StartProcessInstanceComponent', () => {
expect(fixture.componentInstance instanceof StartProcessInstanceComponent).toBe(true, 'should create StartProcessInstanceComponent');
});
describe('first step', () => {
describe('without start form', () => {

View File

@@ -752,10 +752,6 @@ describe('CustomTaskListComponent', () => {
fixture.destroy();
});
it('should create instance of CustomTaskListComponent', () => {
expect(component instanceof CustomTaskListComponent).toBe(true, 'should create CustomTaskListComponent');
});
it('should fetch custom schemaColumn from html', () => {
fixture.detectChanges();
expect(component.taskList.columnList).toBeDefined();