blob: e9b2d638dafdbc8ae9b61aab73923c10962cfa49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!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="bundle.js" type="text/javascript"></script>
</head>
<body>
<script type="text/javascript">
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>
|