Aucune description

karma.debug.html 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!DOCTYPE html>
  2. <html lang="en" id="html">
  3. <head>
  4. %X_UA_COMPATIBLE%
  5. <title>DEBUG</title>
  6. <meta charset="utf-8">
  7. <!-- Karma serves this page from /context.html. Other files are served from /base -->
  8. <link rel="stylesheet" href="/base/external/qunit/qunit.css" />
  9. <link rel="stylesheet" href="/base/test/data/testsuite.css" />
  10. </head>
  11. <body id="body">
  12. <div id="qunit"></div>
  13. <!-- Start: jQuery Test HTML -->
  14. <!-- this iframe is outside the #qunit-fixture so it won't waste time by constantly reloading; the tests are "safe" and clean up after themselves -->
  15. <iframe id="loadediframe" name="loadediframe" style="display:none;" src="/base/test/data/iframe.html"></iframe>
  16. <div id="qunit-fixture"></div>
  17. <!-- End: jQuery Test HTML -->
  18. <!-- Start: Karma boilerplate -->
  19. <script src="/context.js"></script>
  20. <script src="/debug.js"></script>
  21. <script>
  22. %CLIENT_CONFIG%
  23. %MAPPINGS%
  24. </script>
  25. %SCRIPTS%
  26. <!-- End: Karma boilerplate -->
  27. <script src="/base/test/data/qunit-fixture.js"></script>
  28. <script>
  29. // QUnit.config is populated from QUnit.urlParams but only at the beginning
  30. // of the test run. We need to read both.
  31. var amd = QUnit.config.amd || QUnit.urlParams.amd;
  32. // Workaround: Remove call to `window.__karma__.loaded()`
  33. // in favour of calling `window.__karma__.start()` from `loadTests()`
  34. // because tests such as unit/ready.js should run after document ready.
  35. if ( !amd ) {
  36. loadTests();
  37. }
  38. </script>
  39. </body>
  40. </html>