Skip to content

Commit c16a053

Browse files
[autofix.ci] apply automated fixes
1 parent 881ec05 commit c16a053

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/unit/app/utils/pagination.spec.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ import { describe, expect, it } from 'vitest'
1111

1212
const EAGER_LOAD_SIZE = { algolia: 500, npm: 500 } as const
1313

14-
function paginationTotal(
15-
effectiveTotal: number,
16-
provider: keyof typeof EAGER_LOAD_SIZE,
17-
): number {
14+
function paginationTotal(effectiveTotal: number, provider: keyof typeof EAGER_LOAD_SIZE): number {
1815
const cap = EAGER_LOAD_SIZE[provider]
1916
return Math.min(effectiveTotal, cap)
2017
}

0 commit comments

Comments
 (0)