Commit cf261a80 authored by Eric Eastwood's avatar Eric Eastwood

Merge branch 'docs/run-specific-tests' into 'develop'

Add some docs on how to run a subset of tests

See merge request gitlab-org/gitter/webapp!1356
parents 5691b12b 6f1074aa
......@@ -3,6 +3,10 @@
- Use filled in star icon for favorite communities/rooms
- Thanks to [@vicek22](https://gitlab.com/vicek22) for the contribution, https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1351
Developer facing:
- Add some docs on how to run a subset of tests, https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1356
# 19.38.0 - 2019-2-27
......
......@@ -213,6 +213,18 @@ You can look at the [issues labeled with ~"test"](https://gitlab.com/gitlab-org/
All unit tests etc can be run with `npm test`
#### Run individual tests
Anything after the `--` is an argument to Mocha itself, see https://mochajs.org/#command-line-usage
```
npm run mocha -- test/some-test.js
npm run mocha -- test/some-test.js --grep "specific test"
```
# Contributing
We use [git-flow](https://danielkummer.github.io/git-flow-cheatsheet/). Merge requests should be made against `develop` not `master`.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment