mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
fix: add no-new-array rule (#5117)
This commit is contained in:
@@ -265,7 +265,9 @@ test.describe('collaboration members', () => {
|
||||
await addUserToWorkspace(workspaceId, userB.id, 1 /* READ */);
|
||||
};
|
||||
await Promise.all(
|
||||
new Array(10).fill(1).map(() => createUserAndAddToWorkspace())
|
||||
Array.from({ length: 10 })
|
||||
.fill(1)
|
||||
.map(() => createUserAndAddToWorkspace())
|
||||
);
|
||||
|
||||
await openSettingModal(page);
|
||||
|
||||
Reference in New Issue
Block a user