Skip to content

Commit 858ef55

Browse files
committed
docs: Update CONTRIBUTING.md with correct npm commands
1 parent b05c2d0 commit 858ef55

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

CONTRIBUTING.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,29 @@ $ npm install -g grunt-cli
4646

4747
### Running the Test Suite
4848

49-
The test suite is powered by [Mocha](http://visionmedia.github.com/mocha/) and can both run from the command line or in the browser.
49+
The test suite is powered by [Mocha](http://visionmedia.github.com/mocha/) and [Karma](https://karma-runner.github.io/) and can both run from the command line or in the browser.
5050

51-
From the command line:
51+
From the command line (run all required checks):
5252

5353
```bash
5454
$ npm run test
5555
```
5656

57-
From your browser:
57+
From your browser (run unit and integration tests separately):
5858

5959
```bash
60-
$ grunt run:test
60+
$ npm run test:karma:unit
61+
// or
62+
$ npm run test:karma:integration
6163
```
6264

63-
Then visit: http://localhost:8000/test/
65+
Then visit: http://localhost:9876/debug.html
66+
67+
If you want to make sure that your changes will fit in our 10kB budget:
68+
69+
```bash
70+
$ npm run test:size
71+
```
6472

6573
### Compiling Raven.js
6674

0 commit comments

Comments
 (0)