mirror of https://github.com/apache/superset.git
update contributing.md with js testing details (#781)
This commit is contained in:
parent
7306b9caaa
commit
83d5ad216a
|
@ -139,10 +139,18 @@ npm run dev
|
||||||
|
|
||||||
## Testing
|
## Testing
|
||||||
|
|
||||||
Tests can then be run with:
|
Python tests can be run with:
|
||||||
|
|
||||||
./run_tests.sh
|
./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:
|
Lint the project with:
|
||||||
|
|
||||||
# for python changes
|
# for python changes
|
||||||
|
|
Loading…
Reference in New Issue