@@ -1,8 +1,8 @@
|
||||
beforeEach(function() {
|
||||
// env is stateful. Ensure that it, and its global error event listeners,
|
||||
// do not leak between tests.
|
||||
if (jasmineUnderTest.currentEnv_) {
|
||||
jasmineUnderTest.currentEnv_.cleanup_();
|
||||
jasmineUnderTest.currentEnv_ = null;
|
||||
if (privateUnderTest.currentEnv_) {
|
||||
privateUnderTest.currentEnv_.cleanup_();
|
||||
privateUnderTest.currentEnv_ = null;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user