browserstack/browserstack-runner — pull request #100 by jzaefferer (2014-11-07 12:10:38+00:00)
Title: Fix jasmine patch

This takes the changes from #88, squashes them into one commit, then formats the code properly (add some spacing, use consistent indentation) and fixes something I consider a bug: It moves the `clearInterval` into the `running` check, where it makes much more sense. From the commit message:

> It makes no sense to clear the interval while Jasmine is still running,
potentially never reporting results when the suite didn't finish after
the first interval ran.

I've ran `ruby tests/test.rb` to verify it works.