From f6342ad4fec7b7f854292603e1706c19e7366871 Mon Sep 17 00:00:00 2001 From: Gregg Van Hove Date: Thu, 24 Aug 2017 12:22:11 -0700 Subject: [PATCH] Add a note about `defineProperty` for `spyOnProperty` - Fixes #1415 --- lib/jasmine-core/jasmine.js | 2 +- src/core/requireInterface.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index 86926638..360209fc 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -4572,7 +4572,7 @@ getJasmineRequireObj().interface = function(jasmine, env) { }, /** - * Install a spy on a property onto an existing object. + * Install a spy on a property installed with `Object.defineProperty` onto an existing object. * @name spyOnProperty * @function * @global diff --git a/src/core/requireInterface.js b/src/core/requireInterface.js index ad4ed013..aa79d206 100644 --- a/src/core/requireInterface.js +++ b/src/core/requireInterface.js @@ -197,7 +197,7 @@ getJasmineRequireObj().interface = function(jasmine, env) { }, /** - * Install a spy on a property onto an existing object. + * Install a spy on a property installed with `Object.defineProperty` onto an existing object. * @name spyOnProperty * @function * @global