test/test-amd.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../bower_components/mocha/mocha.css">
<title>Tests on Browser with RequireJS</title>
</head>
<body>
<div id="mocha"></div>
<script type="text/javascript" src="../node_modules/babel-core/browser-polyfill.js"></script>
<script type="text/javascript" src="../node_modules/babel-core/external-helpers.js"></script>
<script type="text/javascript" src="../bower_components/mocha/mocha.js"></script>
<script type="text/javascript" src="./rjsconfig.js"></script>
<script type="text/javascript" src="../bower_components/requirejs/require.js"></script>
<script type="text/javascript">
mocha.setup('tdd');
require([
"./empower_option_test",
"./empower_test",
"./buster_assertions_test"
], function() {
mocha.checkLeaks();
if (window.mochaPhantomJS) {
mochaPhantomJS.run();
} else {
mocha.run();
}
});
</script>
</body>
</html>