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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user