gotwarlost / istanbul-middleware

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

How do you reset the client object? #16

Closed apond closed 10 years ago

apond commented 10 years ago

I would like to reset the coverage data on the client. How do I do this?
I tried: window.coverage = {}

but no further coverage information is gathered. So how can I reset?

gotwarlost commented 10 years ago

There is no way to do this at all.