-
Notifications
You must be signed in to change notification settings - Fork 111
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
Test suite is breaking with react-bootstrap #406
Comments
Hey, @flavioribeiro - I played around with this a bit and I think I found the problem. I'm not sure if this is a good long term solution, but if you're blocked, you can add this
@tizmagik - Do you think it's safe to remove the babel runtime plugin now? https://github.com/NYTimes/kyt/blob/master/packages/kyt-core/config/jest.js#L16 |
thanks @delambo! your snippet fixes my build. Should I close this or wait for a fix on your side? |
@delambo it might be safe to remove it now? Although I think we originally added it because Jest 16 at the time needed it to run on our codebase for our internal project. We can try removing it and seeing if we have any issues locally. I think Jest 19 handles things a bit better so hopefully this wrinkle goes away with #394 |
kyt version: 0.4.0
react-bootstrap version: 0.30.7
When trying to run the tests with
$ npm run test
I see the following error:How to Reproduce?
I created a repo using the universal starter kyt, installed
react-bootstrap
withnpm install --save react-bootstrap
and included a react component to theApp
as shown here. It's important to note that I have no issues when running the app (npm run dev
) and rendering the components.The text was updated successfully, but these errors were encountered: