-
Notifications
You must be signed in to change notification settings - Fork 10
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
[Feature] Support assert { type: 'json' }
#60
Comments
Hi @HarelM and sorry for the late reply. This is not a bug, but a configuration issue. First of all you will probably need to use
I've just added an example of using import assertions to one of the examples in this repo and it works: I'm sorry I couldn't answer you before, and this probably won't help you now, but just in case. Thank you. |
I've found a different solution without using this plugin, but thanks anyway! |
Plugin does not support
assert { type: 'json' }
?Expected Behavior
Build should pass
Current Behavior
Build fails with the following error:
Possible Solution
I'm not sure, is there a rollup plugin that removes this assetion?
Steps to Reproduce
Add the plugin to a project that has this statement in the code.
I'm using typescript, so it might be related, IDK.
Context (Environment)
I'm trying to add coverage to my e2e tests, this proves a lot harder than I thought as there are different kind of styles to code coverage.
Detailed Description
Support this type of code, which I believe to be valid...?
Possible Implementation
IDK, I'm not a rollup expert...
The text was updated successfully, but these errors were encountered: