You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+13-5Lines changed: 13 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -46,21 +46,29 @@ $ npm install -g grunt-cli
46
46
47
47
### Running the Test Suite
48
48
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.
50
50
51
-
From the command line:
51
+
From the command line (run all required checks):
52
52
53
53
```bash
54
54
$ npm run test
55
55
```
56
56
57
-
From your browser:
57
+
From your browser (run unit and integration tests separately):
58
58
59
59
```bash
60
-
$ grunt run:test
60
+
$ npm run test:karma:unit
61
+
// or
62
+
$ npm run test:karma:integration
61
63
```
62
64
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:
0 commit comments