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:
@@ -56,10 +56,6 @@ describe('DateEditorComponent', () => {
|
||||
component.column = column;
|
||||
});
|
||||
|
||||
it('should create instance of DateEditorComponent', () => {
|
||||
expect(fixture.componentInstance instanceof DateEditorComponent).toBe(true, 'should create DateEditorComponent');
|
||||
});
|
||||
|
||||
describe('using Date Piker', () => {
|
||||
it('should update row value on change', () => {
|
||||
const input = <MatDatepickerInputEvent<any>> {value: '14-03-2016' };
|
||||
|
@@ -55,10 +55,6 @@ describe('DateTimeEditorComponent', () => {
|
||||
component.column = column;
|
||||
});
|
||||
|
||||
it('should create instance of DateTimeEditorComponent', () => {
|
||||
expect(fixture.componentInstance instanceof DateTimeEditorComponent).toBe(true, 'should create DateTimeEditorComponent');
|
||||
});
|
||||
|
||||
it('should update fow value on change', () => {
|
||||
component.ngOnInit();
|
||||
const newDate = moment('22-6-2018 04:20 AM', 'D-M-YYYY hh:mm A');
|
||||
|
Reference in New Issue
Block a user