dwyl / adoro

❤️ The little publishing tool you'll love using. [work-in-progress]
http://www.dwyl.io/
32 stars 8 forks source link

BLCRS Timeout in tests.js #79

Open thegsi opened 8 years ago

thegsi commented 8 years ago

Not sure why the timeout approach has been adopted. 1) Could the equals go inside the fs functions' callbacks. 2) Could you use the sync versions of the fs functions? 3) If the seTimeout is required perhaps a comment could be useful to explain.

https://github.com/dwyl/adoro/blob/BLCRS/test/tests.js#L38 https://github.com/dwyl/adoro/blob/BLCRS/test/tests.js#L58