mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-1683] add tests for viewer - general (#570)
* rename method to be more clear * change some files to async / await as they were very difficult to follow * add uploadApi and a few resource files needed by Viewer tests * add Viewer e2e component and viewer general tests * add tests for the other list views as well * add “docx” to dictionary
This commit is contained in:
committed by
Denys Vuika
parent
5e4e8ed28c
commit
c0321fe449
@@ -107,7 +107,7 @@ export class NodesApi extends RepoApi {
|
||||
return await this.createNode('cm:folder', name, parentId, title, description);
|
||||
}
|
||||
|
||||
async createChildren(data: NodeBodyCreate[]) {
|
||||
async createChildren(data: NodeBodyCreate[]): Promise<any> {
|
||||
await this.apiAuth();
|
||||
return await this.alfrescoJsApi.core.nodesApi.addNode('-my-', data);
|
||||
}
|
||||
|
Reference in New Issue
Block a user