Skip to content

Commit

Permalink
allow user to hide passing tests by default
Browse files Browse the repository at this point in the history
  • Loading branch information
shawndrost committed Nov 25, 2012
1 parent 3412b7f commit d85a859
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions KoansRunner.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
<script type="text/javascript">
jasmine.getEnv().addReporter(new JsKoansReporter());
jasmine.getEnv().execute();
var passedTestHider = function(){
document.getElementById("__jsKoans_showPassed__").click()
}
setTimeout(passedTestHider, 100) //uncomment me in order to hide passed tests by default
</script>

</body>
Expand Down

0 comments on commit d85a859

Please sign in to comment.