mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[lint-refactor] simplify tslint and unify main tslint extension in sub folders (#4032)
* simplify tslint and unify main tslint extension in sub folders * remove autofix * fix lint extension and process cloud
This commit is contained in:
@@ -56,7 +56,7 @@ export class ApiService {
|
||||
|
||||
return this.apiService.bpmClient.callCustomApi(uri, method, pathParams, queryParams, headerParams, formParams, postBody,
|
||||
authNames, contentTypes, accepts, {})
|
||||
.catch(error => {
|
||||
.catch((error) => {
|
||||
throw (error);
|
||||
});
|
||||
}
|
||||
|
@@ -112,7 +112,7 @@ describe('Unshare file', () => {
|
||||
});
|
||||
|
||||
describe('with permission', () => {
|
||||
afterAll(async done => {
|
||||
afterAll(async (done) => {
|
||||
await uploadActions.deleteFilesOrFolder(this.alfrescoJsApi, nodeId);
|
||||
done();
|
||||
});
|
||||
@@ -160,7 +160,7 @@ describe('Unshare file', () => {
|
||||
});
|
||||
|
||||
describe('without permission', () => {
|
||||
afterAll(async done => {
|
||||
afterAll(async (done) => {
|
||||
await this.alfrescoJsApi.login(TestConfig.adf.adminEmail, TestConfig.adf.adminPassword);
|
||||
await this.alfrescoJsApi.core.sitesApi.deleteSite(siteName, { permanent: true });
|
||||
done();
|
||||
|
@@ -102,7 +102,7 @@ export class SearchCheckListPage {
|
||||
|
||||
this.clickShowMoreButtonUntilIsNotDisplayed();
|
||||
}
|
||||
}, err => {
|
||||
}, (err) => {
|
||||
});
|
||||
return this;
|
||||
}
|
||||
@@ -114,7 +114,7 @@ export class SearchCheckListPage {
|
||||
|
||||
this.clickShowLessButtonUntilIsNotDisplayed();
|
||||
}
|
||||
}, err => {
|
||||
}, (err) => {
|
||||
});
|
||||
return this;
|
||||
}
|
||||
|
@@ -200,7 +200,7 @@ export class TagPage {
|
||||
|
||||
this.clickShowMoreButtonUntilNotDisplayed();
|
||||
}
|
||||
}, err => {
|
||||
}, (err) => {
|
||||
});
|
||||
}
|
||||
|
||||
@@ -211,7 +211,7 @@ export class TagPage {
|
||||
|
||||
this.clickShowLessButtonUntilNotDisplayed();
|
||||
}
|
||||
}, err => {
|
||||
}, (err) => {
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user