Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Uses cdn urls in example html.

Joshua Appelman4a22abd26d19
diff --git a/index.md b/index.md
index c0909863..e39cda4b 100644
--- a/index.md
+++ b/index.md
@@ -887,13 +887,15 @@ A typical setup might look something like the following, where we call `mocha.se
<head>
<meta charset="utf-8">
<title>Mocha Tests</title>
- <link rel="stylesheet" href="mocha.css" />
+ <link href="https://cdn.rawgit.com/mochajs/mocha/2.2.4/mocha.css" rel="stylesheet" />
</head>
<body>
<div id="mocha"></div>
- <script src="jquery.js"></script>
- <script src="expect.js"></script>
- <script src="mocha.js"></script>
+
+ <script src="https://rawgit.com/jquery/jquery/2.1.4/dist/jquery.min.js"></script>
+ <script src="https://rawgit.com/Automattic/expect.js/0.3.1/index.js"></script>
+ <script src="https://cdn.rawgit.com/mochajs/mocha/2.2.4/mocha.js"></script>
+
<script>mocha.setup('bdd')</script>
<script src="test.array.js"></script>
<script src="test.object.js"></script>