mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
tslint arrow-parens rule (#4003)
This commit is contained in:
@@ -62,8 +62,8 @@ describe('AppsProcessCloudService', () => {
|
||||
spyOn(service, 'getDeployedApplicationsByStatus').and.returnValue(throwError(errorResponse));
|
||||
service.getDeployedApplicationsByStatus('fake')
|
||||
.subscribe(
|
||||
users => fail('expected an error, not applications'),
|
||||
error => {
|
||||
(users) => fail('expected an error, not applications'),
|
||||
(error) => {
|
||||
expect(error.status).toEqual(404);
|
||||
expect(error.statusText).toEqual('Not Found');
|
||||
expect(error.error).toEqual('Mock Error');
|
||||
|
@@ -58,7 +58,7 @@ export class AppsProcessCloudService {
|
||||
});
|
||||
}
|
||||
),
|
||||
catchError(err => this.handleError(err))
|
||||
catchError((err) => this.handleError(err))
|
||||
);
|
||||
}
|
||||
|
||||
|
@@ -45,7 +45,7 @@ export class TaskFilterCloudService {
|
||||
let completedTasksFilter = this.getCompletedTasksFilterInstance(appName);
|
||||
let completeObservable = this.addFilter(completedTasksFilter);
|
||||
|
||||
return new Observable(observer => {
|
||||
return new Observable((observer) => {
|
||||
forkJoin(
|
||||
involvedObservable,
|
||||
myTaskObservable,
|
||||
|
@@ -199,7 +199,7 @@ describe('TaskListCloudComponent', () => {
|
||||
}
|
||||
});
|
||||
let rowEvent = new DataRowEvent(row, null);
|
||||
component.rowClick.subscribe(taskId => {
|
||||
component.rowClick.subscribe((taskId) => {
|
||||
expect(taskId).toEqual('999');
|
||||
expect(component.getCurrentId()).toEqual('999');
|
||||
done();
|
||||
|
Reference in New Issue
Block a user