-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
Unknown prop styleName
on <div> tag.
#82
Comments
Is this "the same" issue as https://github.com/gajus/react-css-modules/issues/147? |
Also, I seem to be able to reproduce this with 3.0.0. |
@tlycken I was able to work around that issue in |
I just started to use ignore-styles library while testing components but that is not a good fix. |
@Igor-Vuk you might have to specify in your .babelrc file... {
"env": {
"test": {
"plugins": [
["react-css-modules", {
"context": <same_context_as_your_webpack_config_context>
}]
]
}
}
} |
I tried to configure it the same way as is configured in my webpack, it didn't work.
|
I'm wondering if |
Digging through here, it doesn't look like it resolves an absolute path for the context you pass in. |
How should I write it then for it to work? |
Using version 2.6.1. I am getting this warning while testing the components.
The text was updated successfully, but these errors were encountered: