Skip to content

Commit

Permalink
Merge pull request #10 from agrostar/vsc#18_status-regression
Browse files Browse the repository at this point in the history
push status test results into SpecResult instance
  • Loading branch information
Varun0157 authored Jun 12, 2024
2 parents bd38141 + 43543ea commit 78e62ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export function runAllTests(
const received = responseData.status;
const statusResults = runTest("status", expected, received, skip);

res.subResults.push(statusResults);
if (stopOnFailure && statusResults.results.some((r) => !r.pass)) return res;
}

Expand Down

0 comments on commit 78e62ca

Please sign in to comment.