fix: do not assign result to data folders

This commit is contained in:
Marc-Roig 2023-05-18 09:39:28 +02:00
parent a1a2453c15
commit a781a8a368
No known key found for this signature in database
GPG Key ID: FB4E2C43A0BEE249

View File

@ -232,8 +232,8 @@ describe('Bulk actions for folders & files', () => {
// Create folders
const folder1 = await createFolder('folderToDelete', null);
data.folders = await Promise.all(
Array.from({ length: 20 }).map((_, i) => createFolder(`${i}`, null))
await Promise.all(
Array.from({ length: 20 }).map((_, i) => createFolder(`folder-${i}`, null))
);
// Delete folder1