From be0f7b41176794b2e9ff49a7ad07843b3d6e3cbf Mon Sep 17 00:00:00 2001 From: Sheel Choksi Date: Mon, 2 Sep 2013 21:48:44 -0700 Subject: [PATCH] EnvSpec for timing out async spec fix Spec still can't work for maximumSpecCallbackDepth = 1 until further mock clock enhancements. Fixes the specs running twice issue caused by the previous commit. --- spec/core/EnvSpec.js | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/core/EnvSpec.js b/spec/core/EnvSpec.js index 2f429983..bbd25fc5 100644 --- a/spec/core/EnvSpec.js +++ b/spec/core/EnvSpec.js @@ -315,7 +315,6 @@ describe("Env integration", function() { env.it("async spec that will hang", function(underTestCallback) { env.expect(true).toBeTruthy(); jasmine.getEnv().clock.tick(10000); - jasmine.getEnv().clock.tick(1); // trigger specDone callback }); env.execute();