mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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:
@@ -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();
|
||||
|
@@ -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', () => {
|
||||
|
@@ -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();
|
||||
|
@@ -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', () => {
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user