mirror of
https://github.com/strapi/strapi.git
synced 2025-12-26 22:54:31 +00:00
fix: do not assign result to data folders
This commit is contained in:
parent
a1a2453c15
commit
a781a8a368
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user