Skip to content

Commit 62a862e

Browse files
committed
fix test failure
1 parent 34ec70b commit 62a862e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/testResultsSummary.unit.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ describe("Error Handling Tests", () => {
367367
fs.writeFileSync(invalidJsonPath, "{ invalid json content");
368368

369369
try {
370-
const result = testResultsSummary.getTestResults(process.env.RUNNER_TEMP, process.env.GITHUB_RUN_ID, process.env.GITHUB_ACTION, "");
370+
const result = testResultsSummary.getTestResults(process.env.RUNNER_TEMP, process.env.GITHUB_RUN_ID, "");
371371

372372
// Should return empty results
373373
expect(result.TestResults).toEqual([]);
@@ -417,7 +417,7 @@ describe("Error Handling Tests", () => {
417417
fs.writeFileSync(validJsonPath, "[]"); // Empty array - valid JSON
418418

419419
try {
420-
const result = testResultsSummary.getTestResults(process.env.RUNNER_TEMP, process.env.GITHUB_RUN_ID, process.env.GITHUB_ACTION, "");
420+
const result = testResultsSummary.getTestResults(process.env.RUNNER_TEMP, process.env.GITHUB_RUN_ID, "");
421421

422422
// Should still return results even if deletion fails
423423
expect(result).toBeDefined();

0 commit comments

Comments
 (0)