X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=DEVELOP.md;h=9a13888c99bb1e9aefb560f3b68856763c7566b1;hb=6eef8c1b9ec7b247ee2b508032bd3ec957d0fb68;hp=74363260d73cc1315465a2383498111ef01d38d7;hpb=ce31caf22475e3e1fd6d9fea192d61ff4fcd7fac;p=dygraphs.git diff --git a/DEVELOP.md b/DEVELOP.md index 7436326..9a13888 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -28,6 +28,12 @@ To iterate on a unit test, run the `watch` command above and open in your browser. You can use the Mocha UI to run just a single test or suite. Or you can change `it` to `it.only` to do run just one test in code. +To run a single test from the command line, you can use: + + npm run test -- --grep highlight-series-background + +(Note the extra `--`.) + ### dygraphs style When making a change, please try to follow the style of the existing dygraphs code. This will make the review process go much more smoothly.