-
-
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
usage with babel-plugin-webpack-loaders #297
Comments
Now I've added
Results: It's still failing when I add And when I add
I have zero knowledge into istanbul / nyc / coverage feel free to guide me for more debuging informations. You can reproduce with checking out iam4x/futureRX#2 |
@iam4x the cache is very contentious right now, we're doing some work around it as we gear up for a 7.x release. I'll update this issue shortly once we hammer out some conversations in a few related tickets. |
@iam4x could you try installing |
@jamestalmage actually, perhaps this is pid collision related? |
1.
I get warnings like this one with
2.I resolved the warnings by adding into my
But after that it fails creating the report: 3.Trying with
It creates an empty report: I'll keep the first configuration for now, I can live with warnings 👍 Thank's for the support @bcoe 🍻 |
@iam4x is this a project that you could share with us? I'd like to try to support all these scenarios. To give you some background, nyc grew up independently of istanbuljs and we're now in the process of smashing the two projects together -- I want to make sure the first release kicks butt. for the approach using would love your help getting this over the finish line: #303 |
Sure, the project is available https://github.com/iam4x/futureRX The setup is pretty easy:
Tried without |
@bcoe I tried some things that worked for me before and I think the instrumentation info isn't being passed to EDIT: realized I just gave a redundant summary of @iam4x's experiences, but I haven't tested the |
That being said, @iam4x I just caught I've made some progress on this branch, but I've hit some webpack errors - feel free to grab it off my remote and hack away. iam4x/futureRX#4 |
@JaKXz great work 👍 how are you feeling about the 7.x release at this point, I'm getting really close to dropping the hammer -- want to look into another issue that just opened first related to empty coverage reports. |
Thanks! :') I think |
Sure, I'll be happy to help and re-create a minimal reproduction case for testing purpose instead of the big boilerplate 👍 Should I do this somewhere into |
@iam4x a gist works well. |
Hello,
Is there anyone who made this work correctly with https://github.com/istarkov/babel-plugin-webpack-loaders ? My server code is requiring
.css
files to work withcss-modules
.The uncovered-lines returned by
nyc
are completely wrong, I think it's checking webpack compiled code instead of sourcemaps but I didn't investigate that much.Here's my babelrc:
I've also tried with
babel-plugin-istanbul
orbabel-plugin-__coverage__
no luck.Does anyone have a working example with all these libraries?
The text was updated successfully, but these errors were encountered: