- Run `afterEach` in reverse order declared as before
This commit is contained in:
Gregg Van Hove
2015-12-03 16:00:05 -08:00
parent 3b53e469fd
commit e2e2d1b343
3 changed files with 6 additions and 6 deletions

View File

@@ -110,7 +110,7 @@ getJasmineRequireObj().Env = function(j$) {
while(suite) {
befores = befores.concat(suite.beforeFns);
afters = afters.concat(suite.afterFns.reverse());
afters = afters.concat(suite.afterFns);
suite = suite.parentSuite;
}