Results 211 comments of Corey Farrell

You will need to run the `nyc` command separately. Even if nyc can work with an electron process we cannot support it. I suggest making your coverage script run `yarn...

Oh sorry one more thing, you need to add `--clean=false` to the nyc command. So I suggest: **package.json** ```json "scripts": { "coverage": "yarn test && nyc --clean=false --require ./babel-register.js --instrument=false...

I'm not sure what `@babel/polyfill` does to the environment, can you try without that? If that does not help I'd likely need to see a repository with the minimum needed...

I suspect this is caused by another transformation injecting a branch and producing source-maps pointing the branch to the original code. This sometimes happens when transpiling code and is outside...

Can you try again with the latest `jest` / `babel-plugin-istanbul`? The versions of these modules mentioned here use an older version of istanbul with babel 6, the current versions use...

I don't know much about karma but I don't think any of the karma components have updated to the latest istanbuljs modules yet. Might be best to stick with nyc...

@maogongzi please post a new issue including a link to a repository demonstrating the issue. It could be a simple issue that 6.0.0 needs to be reconfigured or you could...

It looks like babel-plugin-import is a Babel 7 plugin. If you haven't already please try this with `babel-plugin-istanbul@next` (version 5.x). The current `latest` release of `babel-plugin-istanbul` still uses babel 6....

https://github.com/ant-design/babel-plugin-import/blob/master/src/Plugin.js#L2 shows that it uses babel 7 modules. I do not recommend mixing babel 6 and babel 7, so if your project uses babel 6 I recommend trying again with...

I can confirm this, thank you for the demo repository. Interesting note this works when I do a two-stage tranformation. I created the following babel.config.js: ```js module.exports = { env:...