Skip to content

Commit

Permalink
Merge pull request #10 from betrybe/considera-describe-aninhado
Browse files Browse the repository at this point in the history
Considera describe mais interno
  • Loading branch information
inaC authored Jul 16, 2020
2 parents ec2b93b + 1980ec4 commit ce490c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evaluator.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const { requirements } = JSON.parse(requirementsFile);
const evaluationsByRequirements =
testResults.map(({ assertionResults }) => (
assertionResults.map(({ ancestorTitles, status }) => ({
describe: ancestorTitles[0],
describe: ancestorTitles[ancestorTitles.length - 1],
status
}))
)).flat()
Expand Down

0 comments on commit ce490c9

Please sign in to comment.