Clarify monkey patching deprecation warning
This commit is contained in:
@@ -3870,7 +3870,7 @@ getJasmineRequireObj().deprecateMonkeyPatching = function(j$) {
|
||||
},
|
||||
set(newValue) {
|
||||
j$.getEnv().deprecated(
|
||||
'Monkey patching detected. This is not supported and will break in a future jasmine-core release.'
|
||||
'Monkey patching detected. Code that overwrites parts of Jasmine, except globala and other properties that are documented as writeable, is not supported and will break in a future release.'
|
||||
);
|
||||
value = newValue;
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ getJasmineRequireObj().deprecateMonkeyPatching = function(j$) {
|
||||
},
|
||||
set(newValue) {
|
||||
j$.getEnv().deprecated(
|
||||
'Monkey patching detected. This is not supported and will break in a future jasmine-core release.'
|
||||
'Monkey patching detected. Code that overwrites parts of Jasmine, except globala and other properties that are documented as writeable, is not supported and will break in a future release.'
|
||||
);
|
||||
value = newValue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user