blob: 537487119cd4fa6928a37ab1a0bfba071bdadffd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<!doctype html>
<head>
<link rel="stylesheet" href="../../../node_modules/mocha/mocha.css" />
<script src="../../../node_modules/mocha/mocha.js" type="text/javascript"></script>
<script src="../../testHelpers/browserShims.js" type="text/javascript"></script>
<script src="bundle.js" type="text/javascript"></script>
</head>
<body>
<script type="text/javascript">
var testEnv = "browserify";
window.onload = function () {
console.log("These tests will only work in all browsers with the console open");
mocha.setup({
ui: 'bdd',
globals: [ 'someGlobalVar' ]
});
enableTests();
mocha.run();
};
</script>
<div id="mocha"></div>
</body>
|