fix: format JSON threshold and warnings for consistency in test output

This commit is contained in:
GitHub Actions
2026-02-17 15:14:17 +00:00
parent 93325bb1ca
commit 9713908887

View File

@@ -243,7 +243,7 @@ func TestGitDiffAndWriters(t *testing.T) {
Baseline: "origin/main...HEAD",
GeneratedAt: "2026-02-17T00:00:00Z",
Mode: "warn",
Thresholds: thresholdJSON{Overall: 90, Backend: 85, Frontend: 85},
Thresholds: thresholdJSON{Overall: 90, Backend: 85, Frontend: 85},
ThresholdSources: thresholdSourcesJSON{
Overall: "default",
Backend: "default",
@@ -258,7 +258,7 @@ func TestGitDiffAndWriters(t *testing.T) {
UncoveredChangedLines: 2,
UncoveredChangedLineRange: []string{"10-11"},
}},
Warnings: []string{"warning one"},
Warnings: []string{"warning one"},
Artifacts: artifactsJSON{Markdown: "test-results/report.md", JSON: "test-results/report.json"},
}