-
-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nyc merge in nyc@next gives 'Invalid file coverage object, missing keys, found:data' #1226
Comments
Please upgrade babel-plugin-istanbul and istanbul-lib-coverage to the |
@akoidan I've just released a new beta of nyc which contains at least one fix to source-map processing. Could you give this a try? I've seen Please be aware your issue is a bit difficult as it is so large. If 15.0.0-beta.1 does not work I'd like for you to commit your |
Duplication information here for future readers: With
At least it's always determenistic now, I always get:
Note that if you check
they are both ok. And it's werid that the format of output html is different |
@coreyfarrell You can always get the report by runnign steps I specified above. Anyway I commited the files as you asked (mind the branch https://github.com/akoidan/vue-webpack-typescript/tree/nyc/issues/1226/nyc |
@coreyfarrell any updates? Do you need any help from my side? |
@akoidan I'm very busy so I have to ask for your patience. |
@coreyfarrell any updates? ^^ |
I'm running into this issue as well. |
I was able to resolve this by just updating The EDIT: For a second project, I had to upgrade both via |
Link to bug demonstration repository
git clone https://github.com/akoidan/vue-webpack-typescript git checkout multicov yarn install yarn test
Expected Behavior
Observed Behavior
commands in example will run multiple test and then tries to run
nyc merge
that would fail with error:'Invalid file coverage object, missing keys, found:data'
To be specific
results a json like this:
Environment Information
The text was updated successfully, but these errors were encountered: