Clarify monkey patching deprecation warning

This commit is contained in:
Steve Gravrock
2026-01-11 19:23:51 -08:00
parent 1ad28d8515
commit e759ddced2
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -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;
}