Update mocha-html template.
This commit is contained in:
parent
674d2c03b4
commit
122c1504c1
|
@ -2,7 +2,8 @@
|
||||||
title: Mocha HTML
|
title: Mocha HTML
|
||||||
---
|
---
|
||||||
|
|
||||||
```html
|
This is a mocha template that loads js/css from cdn.
|
||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
@ -14,10 +15,10 @@ title: Mocha HTML
|
||||||
<body>
|
<body>
|
||||||
<div id="mocha"></div>
|
<div id="mocha"></div>
|
||||||
<script src="https://cdn.rawgit.com/visionmedia/mocha/1.21.4/mocha.js"></script>
|
<script src="https://cdn.rawgit.com/visionmedia/mocha/1.21.4/mocha.js"></script>
|
||||||
|
<script src="https://cdn.rawgit.com/chaijs/chai/1.9.2/chai.js"></script>
|
||||||
<script src="../index.js"></script>
|
<script src="../index.js"></script>
|
||||||
<script>mocha.setup('bdd')</script>
|
<script>mocha.setup('bdd')</script>
|
||||||
<script src="tests.js"></script>
|
<script src="tests.js"></script>
|
||||||
<script>mocha.run()</script>
|
<script>mocha.run()</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
```
|
|
||||||
|
|
Loading…
Reference in New Issue