Skip to content

armgit / mocha

Public Imported from GitHub
0

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

misc

Tj Holowaychuk58f029482a0f
diff --git a/index.md b/index.md
index aa1a6bd2..66e9235e 100644
--- a/index.md
+++ b/index.md
@@ -365,8 +365,8 @@ Testing asynchronous code with Mocha could not be simpler! Simply invoke the cal
Mocha runs in the browser. Every release of Mocha will have new builds of _./mocha.js_ and _./mocha.css_ for use in the browser. To setup Mocha for browser use all you have to do is include the script, stylesheet, tell Mocha which interface you wish to use, and then run the tests. A typical setup might look something like the following, where we call `mocha.setup('bdd')` to use the __BDD__ interface before loading the test scripts, running them `onload` with `mocha.run()`.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js" type="text/javascript"></script>
- <link rel="stylesheet" href="style.css" />
- <script src="../mocha.js"></script>
+ <link rel="stylesheet" href="mocha.css" />
+ <script src="mocha.js"></script>
<script>mocha.setup('bdd')</script>
<script src="test.array.js"></script>
<script src="test.object.js"></script>