Fix bug where before/afterAll were being executed in disabled suites.

This commit is contained in:
Zaven Muradyan
2016-10-23 20:40:58 -07:00
parent 0e9b9a11c3
commit c21bdaf35d
5 changed files with 28 additions and 30 deletions
+1 -1
View File
@@ -1425,7 +1425,7 @@ describe("Env integration", function() {
totalSpecsDefined: 1
});
expect(reporter.specDone).toHaveBeenCalledWith(jasmine.objectContaining({ status: 'pending' }));
expect(reporter.specDone).toHaveBeenCalledWith(jasmine.objectContaining({ status: 'disabled' }));
expect(reporter.suiteDone).toHaveBeenCalledWith(jasmine.objectContaining({ description: 'xd out', status: 'pending' }));
expect(reporter.suiteDone.calls.count()).toBe(4);