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:
@@ -69,9 +69,7 @@ describe('NodeRestoreDirective', () => {
|
||||
}));
|
||||
|
||||
translationService = TestBed.inject(TranslationService);
|
||||
spyOn(translationService, 'instant').and.callFake((key) => {
|
||||
return key;
|
||||
});
|
||||
spyOn(translationService, 'instant').and.callFake((key) => key);
|
||||
});
|
||||
|
||||
it('should not restore when selection is empty', () => {
|
||||
@@ -240,9 +238,7 @@ describe('NodeRestoreDirective', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
restoreNodeSpy.and.callFake(() => {
|
||||
return Promise.resolve();
|
||||
});
|
||||
restoreNodeSpy.and.callFake(() => Promise.resolve());
|
||||
|
||||
component.selection = [
|
||||
{ entry: { id: '1', name: 'name1', path: ['somewhere-over-the-rainbow'] } },
|
||||
|
Reference in New Issue
Block a user