docs: update README.md

This commit is contained in:
afc163 2020-08-17 17:18:30 +08:00 committed by Yanyan Wang
parent 1772cecfe7
commit 6d31a273a3
2 changed files with 10 additions and 2 deletions

View File

@ -116,7 +116,11 @@ graph.render();
$ npm install
# run test case
$ npm run test-live
$ npm test
# run test case in watch mode
npm test -- --watch ./tests/unit/algorithm/find-path-spec
DEBUG_MODE=1 npm test -- --watch ./tests/unit/algorithm/find-path-spec
# build watching file changes and run demos
$ npm run demos

View File

@ -116,7 +116,11 @@ For more information of the usage, please refer to [Getting Started](https://ant
$ npm install
# run test case
$ npm run test-live
$ npm test
# run test case in watch mode
npm test -- --watch ./tests/unit/algorithm/find-path-spec
DEBUG_MODE=1 npm test -- --watch ./tests/unit/algorithm/find-path-spec
# build watching file changes and run demos
$ npm run demos