From 83d5ad216a9a82ac727965f7607480764535ffb8 Mon Sep 17 00:00:00 2001 From: Alanna Scott Date: Tue, 19 Jul 2016 16:14:04 -0700 Subject: [PATCH] update contributing.md with js testing details (#781) --- CONTRIBUTING.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 312fad7a0d5ac..d151eef48c0bb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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