Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Commit 4cd7fe5

Browse files
author
crdlc
committed
README fixed
1 parent 5212173 commit 4cd7fe5

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,23 +51,29 @@ PhantomJS.
5151

5252
To add a new test, you only have to write the test (and add it somewhere under
5353
the test/ directory, preferably on test/unit) and then add a new .html file to
54-
test/test_scripts. That file should have the <script> tags to load your unit
54+
test/test_scripts. That file should have the &lt;script&gt; tags to load your unit
5555
test and any other script file you need (like the one you're actually testing).
5656

5757
More notes about testing. We're using SlimerJS and grunt-mocha-slimerjs for
5858
testing. The Spec reporter (as set by default) do *not* log errors or stack
5959
traces on failures. So if you want to see the errors (and believe me, you will)
6060
then you need to specify the JSON reporter. The easiest way to do this is with:
6161

62-
grunt test --testReporter=JSON
62+
```
63+
grunt test --testReporter=JSON
64+
```
6365

6466
If you want to run only the test contained on test_name.js, execute:
6567

66-
grunt test --testFile=name
68+
```
69+
grunt test --testFile=name
70+
```
6771

6872
e.g. to run only the test in test_join_room.js:
6973

70-
grunt test --testFile=join_room
74+
```
75+
grunt test --testFile=join_room
76+
```
7177

7278
#### Grunt options
7379

0 commit comments

Comments
 (0)