Skip to content

Commit 671d310

Browse files
fix: update default maxCharacterLength in parse accessibility report. (#55)
* feat: enhance accessibility scan report with issue count and pagination details * fix: update default maxCharacterLength in parseAccessibilityReportFromCSV function
1 parent 161ef45 commit 671d310

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ tests.md
55
*.apk
66
*.ipa
77
.npmrc
8+
.vscode/

src/tools/accessiblity-utils/report-parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ type PaginatedResult = {
2727

2828
export async function parseAccessibilityReportFromCSV(
2929
reportLink: string,
30-
{ maxCharacterLength = 10_000, nextPage = 0 }: PaginationOptions = {},
30+
{ maxCharacterLength = 5000, nextPage = 0 }: PaginationOptions = {},
3131
): Promise<PaginatedResult> {
3232
// 1) Download & parse
3333
const res = await fetch(reportLink);

0 commit comments

Comments
 (0)