Front end of the Slack clone application.

test.callwhenready.html 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>localForage callWhenReady Tests!</title>
  6. <link rel="stylesheet" href="/bower_components/mocha/mocha.css">
  7. <script src="/bower_components/assert/assert.js"></script>
  8. <script src="/bower_components/mocha/mocha.js"></script>
  9. <script src="/bower_components/expect/index.js"></script>
  10. <!-- require.js -->
  11. <script src="/bower_components/requirejs/require.js"></script>
  12. <!-- Modernizr -->
  13. <script src="/bower_components/modernizr/modernizr.js"></script>
  14. <!-- Apply "root" level beforeEach hook to run test suite against
  15. callWhenReady API method stubs -->
  16. <script src="/test/test.callwhenready.js"></script>
  17. <!-- Test runner -->
  18. <script>
  19. // Skip irrelevant config tests by mapping them to API tests so that
  20. // they will not be called.
  21. requirejs.config({
  22. map: {
  23. '*': {
  24. '/test/test.config.js': '/test/test.api.js'
  25. }
  26. }
  27. });
  28. </script>
  29. <script src="/test/runner.js"></script>
  30. </head>
  31. <body>
  32. <div id="mocha"></div>
  33. </body>
  34. </html>