Hey ya'll. I've narrowed down a bug I'm experiencing to this call in the iconv-lite library http://ift.tt/2oOuTeb I run my server normally that file loads just fine but when I load my server in a jest test, the return value from that import is an empty object causing all subsequent requests to fail.based on this comment http://ift.tt/2ttNG3h printed __dirname and it's the same for both my test and regular running code. there's no NODE_PATH being set anywhere.very stumped!
Submitted March 07, 2018 at 01:25AM by azium
No comments:
Post a Comment