UNPKG

mocha-sinon

Version:
27 lines (26 loc) 753 B
<html> <head> <title>Mocha-Sinon</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../node_modules/mocha/mocha.css" /> <script src="../node_modules/mocha/mocha.js"></script> <script src="../node_modules/chai/chai.js"></script> <script src="../node_modules/sinon/pkg/sinon.js"></script> <script> mocha.setup('bdd'); var expect = chai.expect; </script> <script src="../mocha-sinon.js"></script> <script src="./mocha-sinon-base-spec.js"></script> </head> <body> <div id="mocha"></div> <script> if (window.mochaPhantomJS) { mochaPhantomJS.run(); } else { mocha.run(); } </script> </body> </html>