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