blob: dc76f311a5403fd7b0e4fed3687fc9f516e002ac (
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>
|