Separate clear stack and run it after each spec

[finishes #50197985][fix #109418332]
- Fixes #985
- Fixes #945
- Fixes #366
This commit is contained in:
Gregg Van Hove
2016-10-14 09:21:49 -07:00
parent d85d6dd4b8
commit 17c89c69d6
7 changed files with 125 additions and 25 deletions

View File

@@ -475,7 +475,7 @@ describe("jasmine spec running", function () {
env.execute();
});
it('focused runnables unfocus ancestor focused suites', function() {
it('focused runnables unfocus ancestor focused suites', function(done) {
var actions = [];
env.fdescribe('focused suite', function() {
@@ -518,7 +518,7 @@ describe("jasmine spec running", function () {
env.execute();
});
it("should allow top level suites to be disabled", function() {
it("should allow top level suites to be disabled", function(done) {
var specInADisabledSuite = jasmine.createSpy("specInADisabledSuite"),
otherSpec = jasmine.createSpy("otherSpec");