seiyugi / debuguy

An unintrusive JavaScript debugging/profiling/log generating tool
Mozilla Public License 2.0
7 stars 9 forks source link

Fix issue #35, Refactor cli.js and add unit test #57

Closed dwi2 closed 9 years ago

dwi2 commented 9 years ago

How to run unit test

> grunt test

What I did in this patch

  1. Extract lib/app.js from cli.js to make it easier to write unit test
  2. Use minimist to simplify processing of command line option
  3. Write unit tests for lib/app.js
dwi2 commented 9 years ago

@seiyugi/owners please help to review this.

begeeben commented 9 years ago

LGTM

dwi2 commented 9 years ago

哪來的圖XDD