<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi, all</div><div class=""><br class=""></div><div class="">This week I’ve done:</div><div class=""><br class=""></div><div class="">- refactored demo to a Class</div><div class="">- added tests with Jest(<a href="https://facebook.github.io/jest/" class="">https://facebook.github.io/jest/</a>)</div><div class="">- integrated CI with Coverall and Travis</div><div class=""><br class=""></div><div class="">and because I wrote tests rarely before, so I meet some trouble and read a lot docs and examples to learn how to write test and how to use Jest. If you have good learning materials, please share it to me.</div><div class="">now I have turn on netjsongraph.js coverage test on <a href="http://Coverall.io" class="">Coverall.io</a> and add test commands in .travis.yml, but it looks not work right.</div><div class=""><br class=""></div><div class="">Next week I’ll do:</div><div class=""><br class=""></div><div class="">- write backward compatible API</div><div class="">- add tests for render</div><div class="">- update docs</div><div class=""><br class=""></div>Xiang<br class=""></body></html>