beforeAll can have expectations and passes expectation failures to its children

[#66789174]
This commit is contained in:
Christopher Amavisca and Greg Cobb
2014-03-05 16:27:58 -08:00
parent a9e0112a9b
commit a3c3505086
6 changed files with 82 additions and 3 deletions

View File

@@ -57,6 +57,14 @@
return env.afterEach(afterEachFunction);
},
beforeAll: function(beforeAllFunction) {
return env.beforeAll(beforeAllFunction);
},
afterAll: function(afterAllFunction) {
return env.afterAll(afterAllFunction);
},
expect: function(actual) {
return env.expect(actual);
},