node-fun / siyuan

An SNS backend framework, with Node and MySQL
MIT License
8 stars 7 forks source link

Now `npm test` could work #3

Closed FvckSh1t closed 10 years ago

FvckSh1t commented 10 years ago

@huangruichang I've found the reason that, it was the timeout caused the npm test problem. Shown that it takes more than 3000ms for db to setup, but the default timeout is 2000ms. However, I'm still confused - why it goes so smoothly in WebStorm with mocha config well.

huangruichang commented 10 years ago

Got it. I'll follow it. :)

------------------ 原始邮件 ------------------ 发件人: "Fritz-Lium";notifications@github.com; 发送时间: 2013年12月26日(星期四) 晚上6:44 收件人: "node-fun/siyuan"siyuan@noreply.github.com; 抄送: "Cin"532079207@qq.com; 主题: [siyuan] Now npm test could work (#3)

@huangruichang I've found the reason that, it was the timeout caused the npm test problem. Shown that it takes more than 3000ms for db to setup, but the default timeout is 2000ms. However, I'm still confused - why it goes so smoothly in WebStorm with mocha config well.

— Reply to this email directly or view it on GitHub.