gotwarlost / istanbul-middleware

Connect middleware for server side code coverage using istanbul
Other
179 stars 96 forks source link

createClientHandler() outputs confusing instrumenter setup error #14

Open DepthDeluxe opened 10 years ago

DepthDeluxe commented 10 years ago

When calling createClientHandler(...) and the instrumenter variable is null, the function prints an error

No instrumenter set up, please call createHandler() before you use the client middleware

even after running createHandler(). After digging through the code, createHandler() doesn't instantiate a new instrumenter.

tanuva commented 8 years ago

I can confirm this still happens. I'm trying to build a simple test setup adhering to the readme and ran straight into this issue. @DepthDeluxe, you probably don't remember (after 2 years) how you fixed this, do you? :)

DepthDeluxe commented 8 years ago

sorry this happened at the very end of an internship and I have not touched Istanbul since :frowning:. To be honest it was so close to the end I probably didn't find a solution.