Closed tikotzky closed 9 years ago
It works for me now after #15. However, the console.log after the await is not called for me (I don’t see the log when i run it with babel-istanbul cover)
@Swatinem What are you using to actually run the tests? You might be exiting before the log statement is hit.
just babel-istanbul cover --babel-stage 1 --use-babel-runtime test.js
with the code pasted in. So yes, I do think that it exits before the log (or even before returning from the await)
@Swatinem do you get the log in your console?
just ran it again and it looks good now.
if you test the following code...
the coverage comes out looking like![index js 2015-06-21 21-15-34](https://cloud.githubusercontent.com/assets/200528/8274223/1ec2c612-185b-11e5-894b-c083f2fd5725.jpg)