-
Notifications
You must be signed in to change notification settings - Fork 356
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
fix(pf3): fix usage of noop in BulletChart #1083
Conversation
PatternFly-React preview: https://1083-pr-patternfly-react-patternfly.surge.sh |
why is it failing? helpers.noop should be defined. |
Pull Request Test Coverage Report for Build 3629
💛 - Coveralls |
btw, I am not sure why it thinks the failure is in DualList, i see that the test is mocking common/helpers, wonder if that is related. Regardless, since BulletChart is only using noop it is anyways cleaner to just import that |
Ah, DualList tests are redefining helpers which causes it to lose the noop function. This is a quick fix but likely not the correct fix as it will probably come back to bite us again. |
...sigh |
@jeff-phillips-18 I agree, at least this should get the build passing again. Let's put a proper fix in for the issue with DualList test redefining common helpers |
@jeff-phillips-18 Created an issue here |
Thanks @jschuler |
Previous travis build was failing because helpers.noop was undefined. I could reproduce this locally. We can import just noop and use that instead.