Skip to content

Commit

Permalink
Undo change to checkAssertionResult
Browse files Browse the repository at this point in the history
  • Loading branch information
stalgiag authored and howard-e committed Nov 27, 2023
1 parent a7bbdeb commit 5caad44
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,10 @@ const assertTestResultIsValid = newTestResult => {
let failed = false;

const checkAssertionResult = assertionResult => {
if (!assertionResult.passed) {
if (
assertionResult.passed === null ||
assertionResult.passed === undefined
) {
failed = true;
}
};
Expand Down

0 comments on commit 5caad44

Please sign in to comment.