From 36a4ddf433b1c6ed738c416bb121dd2dfce86bf9 Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Thu, 7 Oct 2021 10:56:52 -0700 Subject: [PATCH] Revert "Removed jsdoc entry for SpecResult#trace" This reverts commit 4482355885d07c1b4794ce3cd60a1de74db5520e. --- lib/jasmine-core/jasmine.js | 1 + src/core/Spec.js | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index 1d71abed..0f721e46 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -931,6 +931,7 @@ getJasmineRequireObj().Spec = function(j$) { * @property {String} status - Once the spec has completed, this string represents the pass/fail status of this spec. * @property {number} duration - The time in ms used by the spec execution, including any before/afterEach. * @property {Object} properties - User-supplied properties, if any, that were set using {@link Env#setSpecProperty} + * @property {TraceEntry[]|null} trace - Trace messages, if any, that were logged using {@link Env#trace} during a failing spec. * @since 2.0.0 */ this.result = { diff --git a/src/core/Spec.js b/src/core/Spec.js index fc7b935e..d63b6f79 100644 --- a/src/core/Spec.js +++ b/src/core/Spec.js @@ -198,6 +198,7 @@ getJasmineRequireObj().Spec = function(j$) { * @property {String} status - Once the spec has completed, this string represents the pass/fail status of this spec. * @property {number} duration - The time in ms used by the spec execution, including any before/afterEach. * @property {Object} properties - User-supplied properties, if any, that were set using {@link Env#setSpecProperty} + * @property {TraceEntry[]|null} trace - Trace messages, if any, that were logged using {@link Env#trace} during a failing spec. * @since 2.0.0 */ this.result = {