Skip to content
This repository
Browse code

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

  • Loading branch information...
commit c5e61fa22cb7f9ba03cd9f22e5327d738ec93969 1 parent 89d5e6d
Kevin Reid authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  test/test-main.js
3  test/test-main.js
@@ -43,7 +43,8 @@ describe("Main", function() {
43 43 label.innerText = "View of: " + spec.getFullName();
44 44 container.appendChild(label);
45 45 container.appendChild(parts.viewCanvas);
46   - document.body.appendChild(container);
  46 + (document.getElementById("TrivialReporter") || document.body
  47 + ).appendChild(container);
47 48
48 49 done = undefined;
49 50

0 comments on commit c5e61fa

Please sign in to comment.
Something went wrong with that request. Please try again.