Skip to content

Commit

Permalink
Add message to parsed results if result is null
Browse files Browse the repository at this point in the history
  • Loading branch information
queengooborg committed Dec 10, 2023
1 parent e80f1c2 commit d149901
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/results.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ const parseResults = (
v.exposure,
`results[${i}].exposure (${v.name})`,
)) as Exposure,
...(v.result === null ? {message: v.message} : {}),
} as TestResult;
})
.sort((a, b) => (a.name + a.exposure).localeCompare(b.name + b.exposure)),
Expand Down

0 comments on commit d149901

Please sign in to comment.