Permalink
Browse files

Fix visible-in-tests UIs not being visible in new Jasmine.

  • Loading branch information...
1 parent 89d5e6d commit c5e61fa22cb7f9ba03cd9f22e5327d738ec93969 @kpreid committed Feb 18, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/test-main.js
View
3 test/test-main.js
@@ -43,7 +43,8 @@ describe("Main", function() {
label.innerText = "View of: " + spec.getFullName();
container.appendChild(label);
container.appendChild(parts.viewCanvas);
- document.body.appendChild(container);
+ (document.getElementById("TrivialReporter") || document.body
+ ).appendChild(container);
done = undefined;

0 comments on commit c5e61fa

Please sign in to comment.