mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix eslint warnigs for core project (#7506)
This commit is contained in:
@@ -137,7 +137,7 @@ describe('NodeDeleteDirective', () => {
|
||||
});
|
||||
|
||||
it('should process node successfully', (done) => {
|
||||
component.selection = <any> [{ entry: { id: '1', name: 'name1' } }];
|
||||
component.selection = [{ entry: { id: '1', name: 'name1' } }];
|
||||
|
||||
disposableDelete = component.deleteDirective.delete.subscribe((message) => {
|
||||
expect(message).toBe(
|
||||
@@ -272,7 +272,7 @@ describe('NodeDeleteDirective', () => {
|
||||
});
|
||||
|
||||
it('should emit event when delete is done', (done) => {
|
||||
component.selection = <any> [{ entry: { id: '1', name: 'name1' } }];
|
||||
component.selection = [{ entry: { id: '1', name: 'name1' } }];
|
||||
fixture.detectChanges();
|
||||
|
||||
element.nativeElement.click();
|
||||
|
Reference in New Issue
Block a user