ferlores / mochify-istanbul

Instrument + create reports using istanbul with the mochify stream
Other
20 stars 11 forks source link

[minor] only add after hook once to allow correct processing of mulitple files #13

Closed Swaagie closed 9 years ago

Swaagie commented 9 years ago

Allows processing of multiple files, it seems that the transform instrumenter would add multiple after hooks. Where only the first hook would output the correct coverage information, all others lacked coverage from subsequent files.

Couldn't find a neat stream to hook into, e.g. end event or similar, so just opted for a flag.

Swaagie commented 9 years ago

Not sure why that first test hit the timeout, it works fine if run locally, might have been travis issue.

ferlores commented 9 years ago

Awesome, thanks for the contribution. I will release 2.1.3 with this soon

ferlores commented 9 years ago

v2.1.3 published

Swaagie commented 9 years ago

thx