title: Testing Dojos JsonRest using QUnit
body: <p>I want to write integration tests against the Dojo JsonRest Store with QUnit. The test should verify that JsonRest integrates with a REST API I have written. </p>
  
  <p>Currently I have the following code, copied from the QUnit website:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta name="viewport" content="width=device-width"&gt;
      &lt;title&gt;QUnit Example&lt;/title&gt;
      &lt;link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.1.1.css"&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;!-- &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/dojo/1.10.4/dojo.js" data-dojo-config="async: true"&gt;&lt;/script&gt; --&gt;
      &lt;div id="qunit"&gt;&lt;/div&gt;
      &lt;div id="qunit-fixture"&gt;&lt;/div&gt;
      &lt;script src="https://code.jquery.com/qunit/qunit-2.1.1.js"&gt;&lt;/script&gt;
      &lt;script&gt;
           QUnit.test( "Teste ob Dojo's JsonRest mit der API kompatibel ist", 
              function( assert ) {
                      assert.ok( 1 == "1", "Passed!" );
              });
      &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>This works perfectly well as long as the first script tag is commented out. It then displays a page page that shows that the test passed.
  However, if I include dojo by uncommenting said script tag, it just displays a blank page. There are no error messages and the I have verified, that all links to external files are valid and can be reached. I have also tried to load the js and css files from the same server and googling as well.</p>
  
  <p>I have encountered this behavior with Firefox 50.1.0 and Chromium 55.0.2883.87 under Ubuntu 16.04.1. The webserver runs on localhost.</p>