From ad1d7dd28d56d2612b8a502a10710591d4de1cff Mon Sep 17 00:00:00 2001 From: johnjbarton Date: Tue, 26 May 2020 15:18:27 -0700 Subject: [PATCH] feat(results): forward passedExpectations and properties (#268) --- src/adapter.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/adapter.js b/src/adapter.js index c98b0c1..ebfd82f 100644 --- a/src/adapter.js +++ b/src/adapter.js @@ -231,7 +231,9 @@ function KarmaReporter (tc, jasmineEnv) { success: specResult.failedExpectations.length === 0, suite: [], time: skipped ? 0 : new _Date().getTime() - startTimeCurrentSpec, - executedExpectationsCount: specResult.failedExpectations.length + specResult.passedExpectations.length + executedExpectationsCount: specResult.failedExpectations.length + specResult.passedExpectations.length, + passedExpectations: specResult.passedExpectations, + properties: specResult.properties } // generate ordered list of (nested) suite names