Skip to content

Commit 795e3c7

Browse files
AddonoCopilot
andcommitted
fix: disable coverage thresholds for E2E test runs
E2E tests are skipped when GITHUB_TOKEN is not configured, resulting in near-zero coverage that fails the global thresholds. Set E2E coverage thresholds to 0 since E2E coverage is not meaningful. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 2b8f8ef commit 795e3c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"test": "vitest run --project unit --project integration",
3838
"test:unit": "vitest run --project unit",
3939
"test:integration": "vitest run --project integration",
40-
"test:e2e": "vitest run --project e2e",
40+
"test:e2e": "vitest run --project e2e --coverage.thresholds.lines=0 --coverage.thresholds.functions=0 --coverage.thresholds.branches=0 --coverage.thresholds.statements=0",
4141
"test:coverage": "vitest run --coverage",
4242
"test:watch": "vitest --project unit --project integration",
4343
"package": "pkg . --out-path bin --compress GZip && mv bin/gh-attach-linux-x64 bin/gh-attach-linux-amd64 && mv bin/gh-attach-macos-x64 bin/gh-attach-darwin-amd64 && mv bin/gh-attach-macos-arm64 bin/gh-attach-darwin-arm64 && mv bin/gh-attach-win-x64.exe bin/gh-attach-windows-amd64.exe",

0 commit comments

Comments
 (0)