Permalink
Browse files

Flush list of reports at the end of a test run.

  • Loading branch information...
1 parent 62df264 commit c91832748a8be6093bd2e31fd45b1dd2d4861365 @jcoglan committed Feb 18, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 source/test/unit/ui/test_runner_mediator.js
@@ -49,6 +49,7 @@ JS.Test.Unit.UI.extend({
i = reports.length;
while (i--) reports[i].report();
+ JS.Test.Unit.TestCase.reports = [];
if (continuation) continuation.call(context || null, result);
}, this);

0 comments on commit c918327

Please sign in to comment.