mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix types
This commit is contained in:
@@ -19,7 +19,7 @@ import { FormRepresentation } from '@alfresco/js-api';
|
||||
|
||||
export class FormModelActions {
|
||||
|
||||
async getFormByName(alfrescoJsApi: any, name: String): Promise<FormRepresentation> {
|
||||
async getFormByName(alfrescoJsApi: any, name: string): Promise<FormRepresentation> {
|
||||
|
||||
const forms = await alfrescoJsApi.activiti.editorApi.getForms();
|
||||
|
||||
|
@@ -75,7 +75,7 @@ describe('IdentityUserService', () => {
|
||||
beforeEach(() => {
|
||||
const store = {};
|
||||
|
||||
spyOn(localStorage, 'getItem').and.callFake( (key: string): String => {
|
||||
spyOn(localStorage, 'getItem').and.callFake( (key: string): string => {
|
||||
return store[key] || null;
|
||||
});
|
||||
spyOn(localStorage, 'setItem').and.callFake((key: string, value: string): string => {
|
||||
|
@@ -98,7 +98,7 @@ export class EditProcessFilterCloudComponentPage {
|
||||
await BrowserActions.click(appNameElement);
|
||||
}
|
||||
|
||||
async getApplicationSelected(): Promise<String> {
|
||||
async getApplicationSelected(): Promise<string> {
|
||||
const applicationDropdown = element(by.css(`[data-automation-id='adf-cloud-edit-process-property-appName']`));
|
||||
return await applicationDropdown.getText();
|
||||
}
|
||||
|
Reference in New Issue
Block a user