Prevent monkey patching
This doesn't affect globals (describe, it, expect, etc). Those belong to the user and Jasmine doesn't depend on them.
This commit is contained in:
@@ -63,4 +63,8 @@ describe('HtmlReporterV2Urls', function() {
|
||||
return qs;
|
||||
}
|
||||
});
|
||||
|
||||
isNonMonkeyPatchableClass(jasmineUnderTest.HtmlReporterV2Urls, function() {
|
||||
return new jasmineUnderTest.HtmlReporterV2Urls({});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user