Merge branch 'enumerable' of https://github.com/DCtheTall/jasmine into main

* Merges #1859 from DCtheTall
* Fixes #1837
This commit is contained in:
Steve Gravrock
2020-10-10 18:01:14 -07:00
3 changed files with 7 additions and 4 deletions

View File

@@ -8380,6 +8380,7 @@ getJasmineRequireObj().SpyFactory = function(j$) {
var properties = normalizeKeyValues(propertyNames);
for (var i = 0; i < properties.length; i++) {
descriptor = {
enumerable: true,
get: self.createSpy(baseName + '.' + properties[i][0] + '.get'),
set: self.createSpy(baseName + '.' + properties[i][0] + '.set')
};