-
-
Notifications
You must be signed in to change notification settings - Fork 360
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
Files get ignored from coverage when esnext bigint is used. #947
Comments
+1 for that. I have even combined 2 projects, and file with any bigint is removed from coverage while others are checked. Please fix it :c |
@evert it seems that when you replace all |
I've installed
However the files with |
You need to point to a babel parser plugin, not a babel plugin. So for this you need |
Ah I see, thanks! Sorry it was the end of my day 👍 I think I got that to work. Did have to delete my nyc cache, perhaps plugins are not included in the cache key algorithm? Calling this top-level configuration |
Glad it's working for you.
Agreed in hindsight, |
@coreyfarrell that's a good way to go - we could even just change the docs to only show |
Ok, so I'm struggling with this for almost 2 hours. Can you tell me, how I am supposed to add this plugin? In package.json i have
in .babelrc
and I get nice error: I have literally no idea. I can't find any doc talking about it, lurking in source code also doesn't provide any support. |
I believe you need the |
@JaKXz if you mean
and
or
dont work |
You do not need nyc to If you are still having trouble please post a new ticket with a link to a repository demonstrating the problem. |
CC @kmdrGroch @novemberborn @evert @wzalazar |
@coreyfarrell as BigInts are in Node.js now, we should probably turn this on by default right? |
@kmdrGroch @novemberborn @evert @wzalazar starting with [email protected] the bigInt parser is enabled by default. Moving forward we intend to add parser plugins for any stage-3 feature which is supported by any released version of node.js (shortly after the new releases). That means [email protected] also supports class properties (public and private). This new version of nyc version is currently released to npm under |
thanks, @coreyfarrell for info. Holding thumbs for you, good luck <3 |
Steps to reproduce.
Result is that the file disappears.
The text was updated successfully, but these errors were encountered: