Skip to content

Commit

Permalink
fix(apextests): incorrect usage of jsonOutput
Browse files Browse the repository at this point in the history
Ensure jsonOutput is marked as undefined instead of empty object to meet TS type safety checks
  • Loading branch information
azlam-abdulsalam authored Sep 20, 2023
1 parent 6d3814b commit 6ca7222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/apextest/TriggerApexTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export default class TriggerApexTests {
testResult = this.removeDuplicateTestListing(testResult);

//Write Test Results to file
let jsonOutput = {};
let jsonOutput = undefined;
try
{
jsonOutput = this.writeTestOutput(testResult);
Expand Down

0 comments on commit 6ca7222

Please sign in to comment.