mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
fix types
This commit is contained in:
@@ -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 => {
|
||||
|
||||
+1
-1
@@ -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