-
Notifications
You must be signed in to change notification settings - Fork 32
Jest compatibility? #52
Comments
@bkonkle did you ever figure this out? |
I wound up using "moduleNameMapper": {
"^shared/(.*)$": "<rootDir>/js/shared/$1"
}, |
I ended up ditching aliases altogether, and going with |
For people finding this issue: Use this plugin only in your // Babel config
"env": {
"development": {
"plugins": [
[
"babel-plugin-webpack-alias",
{
"config": "./path.to.webpack.config"
}
]
]
}
} Then use Jest's |
At the moment I can't setup |
Actually my problem was that I used |
Hi! Thanks for sharing this project! I'm trying to use it with Jest, and running into trouble:
I'm digging into the source trying to figure out how to work around it, but I don't have any good leads yet. If anyone has ideas, I'd love to hear them! :-)
My
.babelrc
:The text was updated successfully, but these errors were encountered: