Skip to content

Commit 01b7fd2

Browse files
committed
Copy developing mocha content correctly in Development.md
Signed-off-by: Kelechi Ebiri <[email protected]>
1 parent ee6f117 commit 01b7fd2

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/DEVELOPMENT.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you are having trouble, don't be afraid to [ask for help](./CONTRIBUTING.md#
1919

2020
## Developing Mocha
2121

22-
When you contribute to mocha, you will probably want to try to run your changes on the test suite of another project. You can (and should) run the test suite of mocha itself before committing, but also confirming that your changes give the expected result on another project.
22+
When you contribute to mocha, you will probably want to try to run your changes on the test suite of another project. You can (and should) run the test suite of mocha itself before committing, but also confirming that your changes give the expected result on another project .
2323

2424
For example, [WebSocket.io](https://github.com/LearnBoost/websocket.io/):
2525

@@ -35,3 +35,13 @@ Replace the mocha dependency by the current git repository:
3535
$ cd node_modules/
3636
$ mv mocha/ mocha.save
3737
$ git clone https://github.com/visionmedia/mocha.git
38+
39+
Install mocha's dependencies for the development version:
40+
41+
$ cd mocha
42+
$ npm install
43+
44+
Run websocket.io's test suite using the development version you just installed:
45+
46+
$ cd ../..
47+
$ ./node_modules/.bin/mocha

0 commit comments

Comments
 (0)