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.
This commit is contained in:
Sheel Choksi
2013-09-02 21:48:44 -07:00
parent edb46a6f7c
commit be0f7b4117

View File

@@ -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();