Don't deprecate access to Suite#id and Spec#id
This commit is contained in:
@@ -9,7 +9,7 @@ getJasmineRequireObj().deprecatingSpecProxy = function(j$) {
|
||||
}
|
||||
|
||||
function isAllowedMember(prop) {
|
||||
return prop === 'description' || prop === 'getFullName';
|
||||
return prop === 'id' || prop === 'description' || prop === 'getFullName';
|
||||
}
|
||||
|
||||
function msg(member) {
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
// TODO: Remove this in the next major release.
|
||||
getJasmineRequireObj().deprecatingSuiteProxy = function(j$) {
|
||||
var allowedMembers = [
|
||||
'id',
|
||||
'children',
|
||||
'description',
|
||||
'parentSuite',
|
||||
|
||||
Reference in New Issue
Block a user