Permalink
Browse files

add optional external reporter script injection in test suite.

  • Loading branch information...
1 parent a33cce1 commit cb46ad1113726c656b1f78cc226f975a389bf86a @toolness committed Jun 15, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 test/index.html
View
@@ -25,4 +25,9 @@ <h2 id="qunit-userAgent"></h2>
<script src="test-tree-inspectors.js"></script>
<script src="test-spec.js"></script>
<script src="test-errors.jquery.js"></script>
+
+ <script>
+ if (location.search.match(/externalreporter=1/))
+ document.write('<script src="/externalreporter.js"></' + 'script>');
+ </script>
</html>

0 comments on commit cb46ad1

Please sign in to comment.