Hi! I have a test suite where we've configured coverage instrumentation with JSCover. Much of it works, but I'm finding some tests where the final coverage data doesn't seem to get persisted to local storage at the end of the test, instead reverting to an earlier state from partway through the test. Any pointers on how to get to the bottom of it? From browsing the open issues, I'm taking a wild guess that it might be related to places in my code that use bind(this)?
I figured it out! The problem was a place in my code that did window.onbeforeunload = null; that preventing it from saving the data from just the tests that exercised that bit of code.