Don't deprecate access to Suite#id and Spec#id

This commit is contained in:
Steve Gravrock
2021-07-29 20:15:04 -07:00
parent a0b4f3748d
commit 2a2a671b65
4 changed files with 7 additions and 2 deletions

View File

@@ -3736,7 +3736,7 @@ getJasmineRequireObj().deprecatingSpecProxy = function(j$) {
}
function isAllowedMember(prop) {
return prop === 'description' || prop === 'getFullName';
return prop === 'id' || prop === 'description' || prop === 'getFullName';
}
function msg(member) {
@@ -3800,6 +3800,7 @@ getJasmineRequireObj().deprecatingSpecProxy = function(j$) {
// TODO: Remove this in the next major release.
getJasmineRequireObj().deprecatingSuiteProxy = function(j$) {
var allowedMembers = [
'id',
'children',
'description',
'parentSuite',