From 28280cecff7bf8849006de9815094bc2dd8ab430 Mon Sep 17 00:00:00 2001 From: johnjbarton Date: Tue, 26 May 2020 15:03:49 -0700 Subject: [PATCH] feat(results): forward passedExpectations and properties --- 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