Skip to content

Commit d85b730

Browse files
committed
linting: fix unicorn/no-new-array
1 parent 5e4f888 commit d85b730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/auth/src/test/auth.benchmark.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('auth', () => {
1515
// Add 100 test users
1616
//
1717

18-
const usernames = [...new Array(100).keys()].map(i => 'user-' + i)
18+
const usernames = Array.from({ length: 100 }, (_, i) => `user-${i}`)
1919

2020
for (const username of usernames) {
2121
const user = Auth.createUser(username, username)

0 commit comments

Comments
 (0)