adoro
adoro copied to clipboard
BLCRS Timeout in tests.js
Not sure why the timeout approach has been adopted.
- Could the equals go inside the fs functions' callbacks.
- Could you use the sync versions of the fs functions?
- 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