UNPKG

shelf.js

Version:

A modular, powerful wrapper library for persistent objects in the browser and Node.js

23 lines (21 loc) 589 B
<html> <head> <meta charset="utf-8"> <title>Shelf.Js Mocha Tests</title> <link rel="stylesheet" href="../../node_modules/mocha/mocha.css" /> <script src="../../node_modules/expect.js/expect.js"></script> <script src="../../node_modules/mocha/mocha.js"></script> <script>mocha.setup('bdd')</script> <script src="../../build/shelf-browser.js"></script> <script src="test.shelf.js"></script> <script> window.onload = function() { var runner = mocha.run(); runner.globals(['window']); } </script> </head> <body> <div id="mocha"></div> </body> </html>