mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3333] Test for Viewer - Part 3 (#3927)
* [ADF-3333] Test for Viewer - Part 3 * Fixing failing test * remove async not necessary * fix lint
This commit is contained in:
committed by
Eugenio Romano
parent
94905d1065
commit
cc7b9230ee
@@ -446,9 +446,9 @@ describe('Document List Component', () => {
|
||||
afterAll(async (done) => {
|
||||
Promise.all(folderCreated.map((folder) =>
|
||||
uploadActions.deleteFilesOrFolder(this.alfrescoJsApi, folder.entry.id)
|
||||
)).then(
|
||||
done()
|
||||
);
|
||||
)).then(() => {
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
it('[C277093] Should sort files with Items per page set to default', async (done) => {
|
||||
@@ -567,7 +567,7 @@ describe('Document List Component', () => {
|
||||
CREATED: 'Created'
|
||||
};
|
||||
|
||||
let funnyUser = {};
|
||||
let funnyUser;
|
||||
|
||||
let pdfFile = new FileModel({
|
||||
'name': resources.Files.ADF_DOCUMENTS.PDF.file_name,
|
||||
|
Reference in New Issue
Block a user