摘要: 、istanbul 和 mocha 结合进行nodejs测试的时候最后执行 istanbul cover _mocha test.sqrt.js的时候报错 如图: 用 ../node_modules/mocha/bin/_mocha 代替 _mocha 即,执行的命令为 istanbul cover 阅读全文
posted @ 2017-09-15 15:20 王小窝 阅读(1179) 评论(0) 推荐(0) 编辑
摘要: windows 下 1、查询端口占用的进程ID: netstat -aon | findstr "80" 80为端口号, 输出为: TCP 0.0.0.0:3000 0.0.0.0:0 LISTENING 10820 2、查看端口号所对应的应用程序: tasklist | findstr " 108 阅读全文
posted @ 2017-09-15 11:07 王小窝 阅读(299) 评论(0) 推荐(0) 编辑