Skip to content
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

Merged
merged 1 commit into from
Dec 18, 2018

Conversation

jschuler
Copy link
Collaborator

Previous travis build was failing because helpers.noop was undefined. I could reproduce this locally. We can import just noop and use that instead.

@patternfly-build
Copy link
Contributor

PatternFly-React preview: https://1083-pr-patternfly-react-patternfly.surge.sh

@jeff-phillips-18
Copy link
Member

jeff-phillips-18 commented Dec 18, 2018

@coveralls
Copy link

Pull Request Test Coverage Report for Build 3629

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+3.8%) to 82.057%

Totals Coverage Status
Change from base Build 3626: 3.8%
Covered Lines: 4269
Relevant Lines: 4919

💛 - Coveralls

@jschuler
Copy link
Collaborator Author

screen shot 2018-12-18 at 12 10 20 pm

@jeff-phillips-18

@jschuler
Copy link
Collaborator Author

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

@tlabaj tlabaj merged commit c73490d into patternfly:master Dec 18, 2018
@jeff-phillips-18
Copy link
Member

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.

@jeff-phillips-18
Copy link
Member

...sigh

@jschuler
Copy link
Collaborator Author

@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

@jschuler
Copy link
Collaborator Author

@jeff-phillips-18 Created an issue here
#1085

@jeff-phillips-18
Copy link
Member

Thanks @jschuler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants