Focused runnables play nicely with beforeAll/afterAll

[#73742944]
This commit is contained in:
Greg Cobb and Tim Jarratt
2014-08-28 15:54:27 -07:00
parent d7ab9083be
commit dee1066652
2 changed files with 44 additions and 0 deletions

View File

@@ -200,6 +200,7 @@ getJasmineRequireObj().Env = function(j$) {
if(runnablesToRun) {
runnablesExplictlySet = true;
} else if (focusedRunnables.length) {
runnablesExplictlySet = true;
runnablesToRun = focusedRunnables;
} else {
runnablesToRun = [topSuite.id];