X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=DEVELOP.md;h=8ddf0241b9075b90dcba180a08ecd7e4a09903ed;hb=056763ed22ccc5bdebc73355841052d0d6815a1f;hp=71bf785b43af580c1b92c8bae9ed8d4c6330b614;hpb=7bf909a7b076b5296734a6222e62ed1084e9c935;p=dygraphs.git diff --git a/DEVELOP.md b/DEVELOP.md index 71bf785..8ddf024 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -16,9 +16,9 @@ To run the tests, run: To iterate on the code, open `tests/demo.html` (or one of the other demos) in your browser. -To iterate on a unit test, change `it` to `it.only` in the Mocha test, change the browser from `PhantomJS` to `Chrome` (or whatever you like) and set `singleRun` to `false` in `auto_tests/karma.conf.js`. Then run +To iterate on a unit test, change `it` to `it.only` in the Mocha test. Then run - ./node_modules/karma/bin/karma start auto_tests/karma.conf.js + ./node_modules/karma/bin/karma start auto_tests/chrome.karma.conf.js and hit "DEBUG" in the Karma UI.