Env no longer automatically uninstalls the clock after each spec

- Behaves more like how we want plugins to behave

[#58281436]
This commit is contained in:
slackersoft
2013-10-16 18:39:03 -07:00
parent 6641d64305
commit ca6fa6f711
2 changed files with 1 additions and 1 deletions

View File

@@ -356,6 +356,7 @@ describe("Env integration", function() {
env.clock.install();
env.clock.setTimeout(delayedFunctionForMockClock, 100);
env.clock.tick(100);
env.clock.uninstall();
});
env.it("test without mock clock", function() {
env.clock.setTimeout(delayedFunctionForGlobalClock, 100);

View File

@@ -170,7 +170,6 @@ getJasmineRequireObj().Env = function(j$) {
removeAllSpies();
j$.Expectation.resetMatchers();
customEqualityTesters.length = 0;
self.clock.uninstall();
self.currentSpec = null;
self.reporter.specDone(result);
}