From 1980ec4187534f06313063e4dc05c6b51097f630 Mon Sep 17 00:00:00 2001 From: Inacio Cerqueira Date: Thu, 16 Jul 2020 14:15:09 -0300 Subject: [PATCH] Considera descibre mais interno --- evaluator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evaluator.js b/evaluator.js index 937c774..47791bd 100644 --- a/evaluator.js +++ b/evaluator.js @@ -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()