update contributing.md with js testing details (#781)

This commit is contained in:
Alanna Scott 2016-07-19 16:14:04 -07:00 committed by GitHub
parent 7306b9caaa
commit 83d5ad216a
1 changed files with 9 additions and 1 deletions

View File

@ -139,10 +139,18 @@ npm run dev
## Testing
Tests can then be run with:
Python tests can be run with:
./run_tests.sh
We use [Mocha](https://mochajs.org/), [Chai](http://chaijs.com/) and [Enzyme](http://airbnb.io/enzyme/) to test Javascript. Tests can be run with:
cd /caravel/caravel/assets/javascripts
npm i
npm run test
## Linting
Lint the project with:
# for python changes