diff --git a/src/utils/coverage.ts b/src/utils/coverage.ts index a18541d9..8a10a5c8 100644 --- a/src/utils/coverage.ts +++ b/src/utils/coverage.ts @@ -27,8 +27,8 @@ export const mapTestResults = (testResults: T[]) fullName: testResult.name, id: testResult.id, ...('message' in testResult && testResult.message - ? { message: testResult.message, outcome: ApexTestResultOutcome.Pass } - : { message: null, outcome: ApexTestResultOutcome.Fail }), + ? { message: testResult.message, outcome: ApexTestResultOutcome.Fail } + : { message: null, outcome: ApexTestResultOutcome.Pass }), methodName: testResult.methodName, queueItemId: '', runTime: parseInt(testResult.time, 10),