X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=DEVELOP.md;fp=DEVELOP.md;h=9a13888c99bb1e9aefb560f3b68856763c7566b1;hb=a6d0469d23d09570ea47b87835b6c82a4671b8b4;hp=74363260d73cc1315465a2383498111ef01d38d7;hpb=6833c463ec383edd9dd4051b7a4cb8de834e27d0;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.